|
From: <sv...@va...> - 2014-07-30 11:18:49
|
Author: florian
Date: Wed Jul 30 11:18:38 2014
New Revision: 14207
Log:
Harmles tweak in VG_(record_startup_wd) to not allocate too much
memory.
Modified:
branches/BUF_REMOVAL/coregrind/m_libcfile.c
Modified: branches/BUF_REMOVAL/coregrind/m_libcfile.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_libcfile.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_libcfile.c Wed Jul 30 11:18:38 2014
@@ -432,7 +432,7 @@
there is a problem. */
Bool VG_(record_startup_wd) ( void )
{
- Int szB = VKI_PATH_MAX;
+ Int szB = 0;
vg_assert(!startup_wd_acquired);
# if defined(VGO_linux)
|