Don't dereference NULL pointers when formatting missing denominators,
authorschwarze <schwarze@openbsd.org>
Thu, 1 Jan 2015 15:34:43 +0000 (15:34 +0000)
committerschwarze <schwarze@openbsd.org>
Thu, 1 Jan 2015 15:34:43 +0000 (15:34 +0000)
commit44e7abbf6884e2a6e1c48291fffbd126869c0db6
tree6e7fb55afcd7ca1a94fda762351da2fb5f4d6878
parent3ad4d2422e2890ceb5779d164979f2887f7adca6
Don't dereference NULL pointers when formatting missing denominators,
subscripts, superscripts, or "from" or "to" arguments.
Found by jsg@ with afl.
14 files changed:
regress/usr.bin/mandoc/eqn/fromto/Makefile
regress/usr.bin/mandoc/eqn/fromto/noarg.in [new file with mode: 0644]
regress/usr.bin/mandoc/eqn/fromto/noarg.out_ascii [new file with mode: 0644]
regress/usr.bin/mandoc/eqn/fromto/noarg.out_html [new file with mode: 0644]
regress/usr.bin/mandoc/eqn/over/Makefile
regress/usr.bin/mandoc/eqn/over/noarg.in [new file with mode: 0644]
regress/usr.bin/mandoc/eqn/over/noarg.out_ascii [new file with mode: 0644]
regress/usr.bin/mandoc/eqn/over/noarg.out_html [new file with mode: 0644]
regress/usr.bin/mandoc/eqn/over/noarg.out_lint [new file with mode: 0644]
regress/usr.bin/mandoc/eqn/subsup/Makefile
regress/usr.bin/mandoc/eqn/subsup/noarg.in [new file with mode: 0644]
regress/usr.bin/mandoc/eqn/subsup/noarg.out_ascii [new file with mode: 0644]
regress/usr.bin/mandoc/eqn/subsup/noarg.out_html [new file with mode: 0644]
usr.bin/mandoc/eqn_term.c