mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 10:21:20 +00:00
Add a FIXME
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13064
This commit is contained in:
parent
2154a2cde6
commit
2d248fcd2e
@ -211,6 +211,8 @@ Char* VG_(expand_file_name)(Char* option_name, Char* format)
|
||||
} else if ('}' == format[i]) {
|
||||
// Temporarily replace the '}' with NUL to extract var
|
||||
// name.
|
||||
// FIXME: this is not safe as FORMAT is sometimes a
|
||||
// string literal which may reside in read-only memory
|
||||
format[i] = 0;
|
||||
qual = VG_(getenv)(qualname);
|
||||
if (NULL == qual) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user