diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-12-31 19:40:20 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-12-31 19:40:20 +0000 |
commit | 133205211920eb2d591861a6cf2483f90ae82f28 (patch) | |
tree | 71eece7ded4448b296c34edda01330f9d3fac37a /lib.c | |
parent | 1afd9d280bb0e2233cc039303a03959af86f233c (diff) | |
download | mandoc-133205211920eb2d591861a6cf2483f90ae82f28.tar.gz |
Yet another regression introduced by Kristaps when he switched from
Berkeley DB to SQLite3: In the .In parser, the logic got inverted.
The resulting NULL pointer access was found by clang;
scan log provided by Ulrich Spoerlein <uqs at FreeBSD>.
The best fix is to simply remove the whole, pointless custom
handler function for .In and let the framework do its work.
Now searching for included header files actually works.
While here, remove the similarly pointless custom .St handler,
fix the return value of the .Fd handler and disentangle the
spaghetti in the .Nm handler.
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions