missing files cause segfault

Bug #1186307 reported by Michael Kefeder
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libpar2
Fix Released
High
Unassigned

Bug Description

When a file mentioned in the par2 file is missing on the filesystem it crashes during check with a segfault

To reproduce use for example nzbget (this application uses libpar2) download something and delete a file before it completes - on par2 check the application will crash. Luckily nzbget developers provide patches against libpar 0.2 that fix that problem, here is a patch based on theirs but for libpar2 0.3 (the rest of their fixes seemingly made it into 0.3)

I applied this very patch for my gentoo ebuild, works fine.

Revision history for this message
Michael Kefeder (m-kefeder) wrote :
Revision history for this message
Andreas Moog (ampelbein) wrote :

Thanks, fixed in 0.3.1

Changed in libpar2:
importance: Undecided → High
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.