diff --git a/src/backend/BSSrcServer/Srcdiff.pm b/src/backend/BSSrcServer/Srcdiff.pm index 8b1e5228299..f5b8dcd521c 100644 --- a/src/backend/BSSrcServer/Srcdiff.pm +++ b/src/backend/BSSrcServer/Srcdiff.pm @@ -1013,6 +1013,7 @@ sub findsim { my $fc = $fc{$f}; my $ft = $ft{$f}; next unless defined $fc; + next if $fc =~ /^CVE-[0-9]*-[0-9]*.patch/ || $fc =~ /^b..-[0-9]*.patch/; my @s = grep {defined($fc{$_}) && $fc{$_} eq $fc && $ft{$_} eq $ft} sort keys %s; if (@s) { unshift @s, grep {$old->{$_} eq $new->{$f}} @s if @s > 1;