summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2014-12-18Only keep leading .Sm inside a list when it immediately precedesIngo Schwarze
the first .It. Otherwise, move it out together with whatever follows. Fixing an assertion failure found by jsg@ with afl.
2014-12-18When the head of a list item is extended with a partial explicitIngo Schwarze
macro (for example .Xo) and never closed again, the item ends up without a body block. This can even happen for list types that usually don't have heads in the first place. So even in this case, check for the existence of the body before accessing it. NULL pointer access found by jsg@ with afl.
2014-12-18Don't let the modulo operator divide by zero.Ingo Schwarze
Found by jsg@ with afl.
2014-12-18The code is already careful to not add items to lists that wereIngo Schwarze
already closed. In this respect, also consider lists closed that have broken another block, their closure pending until the end of the broken block. This avoids syntax tree corruption leading to a NULL pointer access found by jsg@ with afl.
2014-12-17increase to 2048 to prevent failure. ok deraadt@Daniel Dickman
2014-12-16Ignore mdoc(7) and man(7) macros inside tbl(7) code because theyIngo Schwarze
would abort the table in an unclean way, causing assertion failures found by jsg@.
2014-12-16correct -Tutf8 and -Thtml rendering of \(~=Ingo Schwarze
and change the name of \(-~ to \(|= to agree with groff; difference found by Carsten dot Kunze at arcor dot de
2014-12-16Explicit block closure macros clobber next-line block head scope,Ingo Schwarze
just like explicit block macros themselves. Fixing an assertion failure jsg@ found with afl.
2014-12-16When a numerical condition errors out after consuming at least oneIngo Schwarze
character of input, treat it as false, do not retry it as a string comparison condition. This also fixes a read buffer overrun that happened when the numerical condition advanced to the end of the input line before erroring out, found by jsg@ with afl.
2014-12-15Empty conditions count as false.Ingo Schwarze
When negated, they still count as false. Found when investigating crashes jsg@ found with afl. Not completely fixing the crashes yet.
2014-12-15correct some character names to match groff;Ingo Schwarze
reported by Carsten dot Kunze at arcor dot de
2014-12-15Move 40MB of .rodata and 40MB of stack to .bss; allows this test to run onMiod Vallat
platforms with small MAXTSIZ or MAXSSIZ.
2014-12-14By now relayd expects tls in its config file and writes tls intoAlexander Bluhm
its log file. Change regression tests form ssl to tls.
2014-12-14unifdef OPENSSL_NO_NEXTPROTONEGJoel Sing
2014-12-13Fix a regression found by Carsten dot Kunze at arcor dot de:Ingo Schwarze
Do not show bogus quotes when .Bl -column phrases are quoted.
2014-12-12Increase cipher suite test coverage by including all cipher suites thatJoel Sing
use RSA authentication, rather than only those that use RSA key exchange.
2014-12-10Add regress for ALPN.Joel Sing
Based on OpenSSL.
2014-12-10Some sort regress test fixes. cksum no longer supports -o2.Daniel Dickman
2014-12-10fix previous.Daniel Dickman
2014-12-09t_exhaust is too exhaustingTheo de Raadt
2014-12-08Add some more makefiles that often cause a crash.Jonathan Gray
Found with the afl fuzzer.
2014-12-07remove duplicate initialization of .sid_ctx in testBrent Cook
2014-12-07Allow specific libtls hostname validation errors to propagate.Brent Cook
Remove direct calls to printf from the tls_check_hostname() path. This allows NUL byte error messages to bubble up to the caller, to be logged in a program-appropriate way. It also removes non-portable calls to getprogname(). ok jsing@
2014-12-07Add a test which would previously often cause make to crash when runJonathan Gray
with malloc.conf J/Junk. This problem was fixed by espie in targequiv.c rev 1.6. Crash found with the afl fuzzer.
2014-12-07Add a test for redefining a macro name in the expansion ofJonathan Gray
the macro with the same name. This often causes m4 to crash with malloc.conf F/Freeguard though not reliably. Crash found with the afl fuzzer.
2014-12-06The -ssl2 flag does nothing - remove the flag and any tests that wereJoel Sing
using it.
2014-12-04add tests for new client RevokedHostKeys option;Damien Miller
refactor to make it a bit more readable
2014-12-04fix handling of roff requests having a default scale other than "n",Ingo Schwarze
in particular .sp which uses "v", when the scale is not specified; cures groff-mandoc differences in about a dozen Xenocara manuals
2014-12-03Allow overriding the path to the testssl and openssl binaries.Brent Cook
This is needed by the portable tree to point directly to the newly-built binaries when running unit tests. discussed with jsing@ and others
2014-12-03Fill the buffer with 'z' instead of 'a' since 'a' is part of theTodd C. Miller
string we are testing. Add tests to verify that we get SIGSEGV when passed a NULL src or dst. It is better to crash than for an implementation to check for NULL and try to recover.
2014-12-03test backslash handling because it was on my todo list;Ingo Schwarze
fortunately, it already seems to work
2014-12-02Add simple strlcpy regressTodd C. Miller
2014-12-02Add simple strlcat regressTodd C. Miller
2014-12-02Add strnlen to SUBDIRS so we actually run its tests.Todd C. Miller
2014-12-02Fix the implementation and documentation of \c (continue text input line).Ingo Schwarze
In particular, make it work in no-fill mode, too. Reminded by Carsten dot Kunze at arcor dot de (Heirloom roff).
2014-12-01run script with ${SHELL}Theo de Raadt
2014-11-30Multiple fixes with respect to .Pf:Ingo Schwarze
* The first argument of .Pf is not parsed. * Normal delimiter handling does not apply to the first argument of .Pf. * Warn if nothing follows a prefix (inspired by groff_mdoc(7)). * In that case, do not suppress spacing.
2014-11-28Drop useless architecture table. Validating architecture namesIngo Schwarze
is a job for makewhatis(8)/mandoc.db(5), not for the parser. Removes 150 lines from source files and 4k (1%) from the binary. Bloat found by deraadt@.
2014-11-28Remove bulky, irrelevant library description string tablesIngo Schwarze
not used by a single manual in OpenBSD and just print library names; will remain in the portable version for use by FreeBSD and NetBSD. Removes 150 lines from source tree and 16 Kilobytes (4%) from binary. Bloat found by deraadt@.
2014-11-27Downgrade .Bd -file from FATAL to ERROR.Ingo Schwarze
Since this was the last remaining FATAL error in this area, this change will allow major simplifications in the mdoc(7) parser.
2014-11-27Multiple fixes with respect to .Eo:Ingo Schwarze
1. Correctly parse stray .Ec without preceding .Eo, avoiding an assertion violation found by jsg@ with afl. 2. Correctly parse .Ec arguments when breaking another block. 3. Correct spacing around closing delimiter when breaking another block. 4. Sync some related formatting control from -Tascii to -Thtml.
2014-11-27Fix the obsolete .Db (toggle debug mode) macro to ignore its argumentsIngo Schwarze
and not trigger an assertion when there is more than one argument; the latter found by jsg@ with afl.
2014-11-26The .Sm macro accepts at most one argument;Ingo Schwarze
fixing an assertion failure found by jsg@ with afl.
2014-11-26comment in Makefile, small tweak in -l testOtto Moerbeek
2014-11-26Add 3 regression tests for "route change" dealing with -ifp, -ifa andMartin Pieuchot
-mtu. Triggered by a report from Florian Riehm on tech@. Note that two of these tests are using IPv6 addresses and expose another bug with ::1. I'll deal with this afterward unless someone else(tm) fixes it.
2014-11-26prefer memcmp to bcmp.Brent Cook
ok tedu@ miod@ deraadt@
2014-11-25Fix test.Daniel Dickman
ok bluhm@
2014-11-25don't fail, even if running as root.Daniel Dickman
idea from and ok ingo@
2014-11-25Also cover other diff formats besides unified ones.Tobias Stoeckmann
ok otto
2014-11-25Do not access a NULL pointer when a section has no body,Ingo Schwarze
which can for example happen for .Sh Xo .Sh without .Xc. Crash found by jsg@ with afl.