wmifs: Error handling when fopen fails.
commitb03c910dc2238a78e30517b5d3e253e697c2e4b6
authorDoug Torrance <dtorrance@piedmont.edu>
Wed, 27 Jun 2018 22:09:12 +0000 (27 18:09 -0400)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 27 Jun 2018 22:19:04 +0000 (27 23:19 +0100)
treee671f1dec3907c035b440377aa3c9e6caab049d4
parent8b31ced3981e4b126f524b0ef75f2345001eda01
wmifs: Error handling when fopen fails.

This prevents fgets from segfaulting on the next line, closing Debian
bug #901353.

Thanks to <anomie@users.sourceforge.net> for the bug report and patch.
wmifs/wmifs.c