mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-09 05:10:23 +00:00
ignore .valgrindrc files that are world writeable
or not owned by the current user (CVE-2008-4865) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8798
This commit is contained in:
@@ -1346,7 +1346,15 @@ processed earlier; for example, options in
|
||||
precedence over those in
|
||||
<computeroutput>~/.valgrindrc</computeroutput>. The first two
|
||||
are particularly useful for setting the default tool to
|
||||
use.</para>
|
||||
use.
|
||||
</para>
|
||||
|
||||
<para>Please note that the <computeroutput>./.valgrindrc</computeroutput>
|
||||
file is ignored if it is marked as world writeable or not owned
|
||||
by the current user. This is because the .valgrindrc can contain options
|
||||
that are potentially harmful or can be used by a local attacker to
|
||||
execute code under your user account.
|
||||
</para>
|
||||
|
||||
<para>Any tool-specific options put in
|
||||
<computeroutput>$VALGRIND_OPTS</computeroutput> or the
|
||||
|
||||
Reference in New Issue
Block a user