Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2008 21:54:31 GMT
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 152430 for review
Message-ID:  <200811032154.mA3LsV23057720@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=152430

Change 152430 by peter@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];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811032154.mA3LsV23057720>