BIC-MNI/minc-tools — pull request #15 by martin-steghoefer (2014-10-03 19:31:24+00:00)
Title: Fix crash in mincconcat when header cannot be expanded

This fixes a segmentation fault that occurs when an input file indicates compression (e.g. by having an extension ".bz2", ".gz", etc.), but doesn't really contain data in the corresponding compression format. In this case, exit with an error message instead of just crashing.

The issue was originally discovered by the Mayhem program analysis software in a systematic check of the whole Debian repository. The circumstances of the crash have been reported to the Debian bug tracking system as bug 716616: http://bugs.debian.org/716616