From owner-p4-projects@FreeBSD.ORG Sun Dec 7 03:18:33 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 723FF1065679; Sun, 7 Dec 2008 03:18:33 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F7C71065675 for ; Sun, 7 Dec 2008 03:18:33 +0000 (UTC) (envelope-from kan@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 054BC8FC0A for ; Sun, 7 Dec 2008 03:18:33 +0000 (UTC) (envelope-from kan@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mB73IWEF065066 for ; Sun, 7 Dec 2008 03:18:32 GMT (envelope-from kan@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mB73IWtZ065064 for perforce@freebsd.org; Sun, 7 Dec 2008 03:18:32 GMT (envelope-from kan@freebsd.org) Date: Sun, 7 Dec 2008 03:18:32 GMT Message-Id: <200812070318.mB73IWtZ065064@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kan@freebsd.org using -f From: Alexander Kabaev To: Perforce Change Reviews Cc: Subject: PERFORCE change 154233 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 03:18:33 -0000 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