Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Dec 2008 03:18:32 GMT
From:      Alexander Kabaev <kan@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 154233 for review
Message-ID:  <200812070318.mB73IWtZ065064@repoman.freebsd.org>

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

Change 154233 by kan@kanbsd_valgrind on 2008/12/07 03:18:19

	Do not dump core if valgrind cannot figure out the name of newly
	mmapped segment.

Affected files ...

.. //depot/projects/valgrind/coregrind/m_aspacemgr/aspacemgr-freebsd.c#14 edit

Differences ...

==== //depot/projects/valgrind/coregrind/m_aspacemgr/aspacemgr-freebsd.c#14 (text+ko) ====

@@ -367,7 +367,8 @@
       return;
    if (search_addr > (addr + len - 1))
       return;
-   VG_(strncpy)( search_buf, filename, search_nbuf - 1);
+   if (filename != NULL)
+      VG_(strncpy)( search_buf, filename, search_nbuf - 1);
 }
 
 static



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