Assembla home | Assembla project page
 

Ticket #334 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

Corrupt par2 file can crash the Assembler

Reported by: shypike Assigned to: team
Priority: high Milestone: 0.5.0
Component: Downloader Version: svn
Severity: major Keywords:
Cc:

Description

When reading a par2 file that has a length header that is too short, the "ParseFilePacket?()" function will crash. Handle the exception in the calling function and discard the par2 file for QuickCheck?.

Change History

10/23/09 19:18:44 changed by shypike

  • status changed from new to closed.
  • resolution set to fixed.

(In [2879]) Prevent Assembler crash when encountering a corrupt par2 file. Just ignore the file and hope for a better one or else let external par2 solve the problem. Closes #334 for trunk.