From 7da8a0601bea3157bee751acf3b28e40cc181324 Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Thu, 29 Jul 2021 13:18:24 +0200 Subject: Fix ioob in dups --- dups | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dups b/dups index 4049682..bf59ee9 100755 --- a/dups +++ b/dups @@ -141,6 +141,8 @@ foreach my $md5 (keys(%md5s)) { $index = int($index); if ($index >= 0 && $index < @best_choices) { keep($best_choices[$index], @same_md5_files); + } else { + print "\n!!\t Index outside of range, ignoring\n"; } } } -- cgit v1.2.3