Test handling of invalid pointers in the pages table.
authorschwarze <schwarze@openbsd.org>
Tue, 30 Aug 2016 22:20:03 +0000 (22:20 +0000)
committerschwarze <schwarze@openbsd.org>
Tue, 30 Aug 2016 22:20:03 +0000 (22:20 +0000)
commit998de4a5d57cc7a6e448ce21397780c533dc486d
treea6fb29f6280a79675188b6eca2bc86558f16f44c
parente252f3d93711cba459ff82f84837c2502cffb2a0
Test handling of invalid pointers in the pages table.
In such cases, do not access NULL pointers in dbm_dump.
Make the setup in the run/Makefile a bit more systematic.
Output starts getting too long, so make everything silent;
you can always use "make -dl" to debug specific tests.
16 files changed:
regress/usr.bin/mandoc/db/dbm_dump/dbm_dump.c
regress/usr.bin/mandoc/db/out/all.derr
regress/usr.bin/mandoc/db/out/all.merr [new file with mode: 0644]
regress/usr.bin/mandoc/db/out/all.mout
regress/usr.bin/mandoc/db/out/badarch.dout [new file with mode: 0644]
regress/usr.bin/mandoc/db/out/badarch0.dout [new file with mode: 0644]
regress/usr.bin/mandoc/db/out/baddesc.dout [new file with mode: 0644]
regress/usr.bin/mandoc/db/out/baddesc0.dout [new file with mode: 0644]
regress/usr.bin/mandoc/db/out/badfile.dout [new file with mode: 0644]
regress/usr.bin/mandoc/db/out/badfile0.dout [new file with mode: 0644]
regress/usr.bin/mandoc/db/out/badname.dout [new file with mode: 0644]
regress/usr.bin/mandoc/db/out/badname0.dout [new file with mode: 0644]
regress/usr.bin/mandoc/db/out/badsect.dout [new file with mode: 0644]
regress/usr.bin/mandoc/db/out/badsect0.dout [new file with mode: 0644]
regress/usr.bin/mandoc/db/out/threearch.dout [new file with mode: 0644]
regress/usr.bin/mandoc/db/run/Makefile