PERFORCE change 152430 for review
Peter Wemm
peter at FreeBSD.org
Mon Nov 3 13:54:32 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=152430
Change 152430 by peter at peter_overcee on 2008/11/03 21:53:57
Large apps overflow the buffer. That pathname[PATH_MAX] in each record adds up.
Affected files ...
.. //depot/projects/valgrind/coregrind/m_aspacemgr/aspacemgr-freebsd.c#10 edit
Differences ...
==== //depot/projects/valgrind/coregrind/m_aspacemgr/aspacemgr-freebsd.c#10 (text+ko) ====
@@ -2914,7 +2914,7 @@
#if __FreeBSD__ >= 7
/* Size of a smallish table used to read /proc/self/map entries. */
-#define M_PROCMAP_BUF 100000
+#define M_PROCMAP_BUF 1000000
/* static ... to keep it out of the stack frame. */
static Char procmap_buf[M_PROCMAP_BUF];
More information about the p4-projects
mailing list