Blame SOURCES/glibc-rh677316-mtrace.patch

147e83
commit 74589f738efd72e07f759a4aabd2e32613aaefb8
147e83
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
147e83
Date:   Tue Sep 1 08:35:38 2015 -0700
147e83
147e83
    Filter out NULL entries.
147e83
147e83
diff --git a/malloc/mtrace.pl b/malloc/mtrace.pl
147e83
index adf61c73737160fb..c48e227e9fee8521 100644
147e83
--- a/malloc/mtrace.pl
147e83
+++ b/malloc/mtrace.pl
147e83
@@ -167,7 +167,7 @@ while (<DATA>) {
147e83
 		printf ("+ %#0@XXX@x Alloc %d duplicate: %s %s\n",
147e83
 			hex($allocaddr), $nr, &location($addrwas{$allocaddr}),
147e83
 			$where);
147e83
-	    } else {
147e83
+	    } elsif ($allocaddr =~ /^0x/) {
147e83
 		$allocated{$allocaddr}=$howmuch;
147e83
 		$addrwas{$allocaddr}=$where;
147e83
 	    }