Open gitcnd opened 5 years ago
Around line 400, this statement:-
unless ($n) {
results in an endless loop, because the earlier sysread above returns $n=-1 on particular corrupted gzip input.
This better substitute fixes the problem:
if ($n<1) {
Around line 400, this statement:-
results in an endless loop, because the earlier sysread above returns $n=-1 on particular corrupted gzip input.
This better substitute fixes the problem: