PERFORCE change 154233 for review
    Alexander Kabaev 
    kan at FreeBSD.org
       
    Sat Dec  6 19:18:33 PST 2008
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=154233
Change 154233 by kan at 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
    
    
More information about the p4-projects
mailing list