[Debian-med-packaging] Bug#716511: mincaverage crash detected by Mayhem - Proposing patch

Martin Steghöfer martin at steghoefer.eu
Fri Oct 3 17:21:54 UTC 2014


tag 716511 patch
thanks



Hi there! :-)

This is basically the same issue as #716616, just in another context: 
This crash happens whenever the input file given to mincconcat somehow 
indicates that it's compressed (e.g. by having an extension ".bz2", 
".gz", etc.), but doesn't really contain data in the corresponding 
compression format.

I've added a check for that case in order to give a reasonable error 
message before exiting cleanly instead of just crashing. Please find the 
patch attached. Maybe the patch can be merged with the one proposed in 
#716616, given that it's basically the same fix, just in another place.

Cheers,
Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-crash-filename-null-voxel-loop.patch
Type: text/x-diff
Size: 1066 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20141003/681df7da/attachment.patch>


More information about the Debian-med-packaging mailing list