missing files cause segfault

Bug #1186307 reported by Michael Kefeder on 2013-05-31
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libpar2
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.

Michael Kefeder (m-kefeder) wrote :
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  Edit
Everyone can see this information.

Other bug subscribers