From f59c2126a21d484c2fda0cce4954e191828a50e4 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Tue, 6 Nov 2012 23:56:56 -0800 Subject: [PATCH] leakfinder.pl: Yet mair exceptions --- Porting/leakfinder.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Porting/leakfinder.pl b/Porting/leakfinder.pl index 91453bc..3c1c078 100644 --- a/Porting/leakfinder.pl +++ b/Porting/leakfinder.pl @@ -24,6 +24,7 @@ for(`find .`) { next if /rm -rf/; # Could be an example from perlsec, e.g. next if /END\s*\{/; # Creating an END block creates SVs, obviously next if /^\s*(?:push|unshift)/; + next if /\bselect(?:\s*\()[^()]+,/; # 4-arg select hangs my $q = s/[\\']/sprintf "\\%02x", ord $&/gore =~ s/\0/'."\\0".'/grid; $prog = <