[sane-devel] scanimage / tesseract interoperability

Jeff Breidenbach jeff at jab.org
Mon May 19 23:42:48 UTC 2014

Testing found an error path with a double fclose.
Tiny tweak to make that impossible.

-  if (0 != fclose(ofp))
+  if (!ofp || 0 != fclose(ofp))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: names-to-stdout-1.2.diff.gz
Type: application/x-gzip
Size: 2473 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20140519/6a858b60/attachment.bin>

More information about the sane-devel mailing list