commit | 1123362bfa90a9f96b6a2b2c03a15b36868c0fcb | [log] [tgz] |
---|---|---|
author | florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Aug 12 11:43:17 2014 +0000 |
committer | florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Aug 12 11:43:17 2014 +0000 |
tree | 4285262e522995e6b3d1517869d7fe8aa57288a0 | |
parent | 0931a4de378d28655851a54028e9dc9233b69275 [diff] |
Remove function VG_(sysnum_string_extra) as it was just a wrapper around VG_(sysnum_string). Also remove associated macro VG_SYSNUM_STRING_EXTRA. The VG_SYSNUM_STRING macro returned a pointer to a variable which is out of scope. Using that value may cause undefined behaviour. Change VG_(sysnum_string) to return pointer to static buffer instead. Fix call sites. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14264 a5019735-40e9-0310-863c-91ae7b9d1cf9