#792413 patchutils: filterdiff doesn't check for errors when processing -X / -I option

Package:
patchutils
Source:
patchutils
Description:
Utilities to work with patches
Submitter:
Date:
2015-07-14 15:36:06 UTC
Severity:
normal
#792413#5
Date:
2015-07-14 15:23:09 UTC
From:
To:
Package: patchutils
Version: 0.3.3-1
 
filterdiff doesn't check for fopen() errors when processing the
-X (exclude-from-file) and -I (--include-from-file) options.
 
This means that
filterdiff -X exclude.file my.patch
behaves like cat if exclude.file doesn't exist (e.g. if you mistype
the filename).
 
I think it would be more sensible if filterdiff exited with an error
in this case.