Unchecked writes may cause corrupted output file
remvee opened this issue · comments
All calls to write(..)
in image.c are unchecked which may cause corrupted output file when, for instance, the filesystem is full. Errors should be detected, reported and the incomplete file removed.