Don't let a failing mparse_open() clobber the filename pointer;
authorschwarze <schwarze@openbsd.org>
Thu, 22 Jan 2015 19:26:16 +0000 (19:26 +0000)
committerschwarze <schwarze@openbsd.org>
Thu, 22 Jan 2015 19:26:16 +0000 (19:26 +0000)
commit1be61736aa3b82a70f3da61c830ffa14d7703766
treea5eb3a4631f4d739b4105624d966e7e6b9a15a76
parentafa72ff4bbc8c1cd26bcfc4881df90546bce8913
Don't let a failing mparse_open() clobber the filename pointer;
fixes error message content and a use after free
for .so with non-existent target when -Wall or -Tlint is given.
usr.bin/mandoc/read.c