Age | Commit message (Collapse) | Author |
|
the first .It. Otherwise, move it out together with whatever
follows. Fixing an assertion failure found by jsg@ with afl.
|
|
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.
|
|
Found by jsg@ with afl.
|
|
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.
|
|
|
|
would abort the table in an unclean way, causing assertion failures
found by jsg@.
|
|
and change the name of \(-~ to \(|= to agree with groff;
difference found by Carsten dot Kunze at arcor dot de
|
|
just like explicit block macros themselves.
Fixing an assertion failure jsg@ found with afl.
|
|
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.
|
|
When negated, they still count as false.
Found when investigating crashes jsg@ found with afl.
Not completely fixing the crashes yet.
|
|
reported by Carsten dot Kunze at arcor dot de
|
|
platforms with small MAXTSIZ or MAXSSIZ.
|
|
its log file. Change regression tests form ssl to tls.
|
|
|
|
Do not show bogus quotes when .Bl -column phrases are quoted.
|
|
use RSA authentication, rather than only those that use RSA key exchange.
|
|
Based on OpenSSL.
|
|
|
|
|
|
|
|
Found with the afl fuzzer.
|
|
|
|
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@
|
|
with malloc.conf J/Junk. This problem was fixed by espie in
targequiv.c rev 1.6. Crash found with the afl fuzzer.
|
|
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.
|
|
using it.
|
|
refactor to make it a bit more readable
|
|
in particular .sp which uses "v", when the scale is not specified;
cures groff-mandoc differences in about a dozen Xenocara manuals
|
|
This is needed by the portable tree to point directly to the newly-built
binaries when running unit tests.
discussed with jsing@ and others
|
|
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.
|
|
fortunately, it already seems to work
|
|
|
|
|
|
|
|
In particular, make it work in no-fill mode, too.
Reminded by Carsten dot Kunze at arcor dot de (Heirloom roff).
|
|
|
|
* 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.
|
|
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@.
|
|
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@.
|
|
Since this was the last remaining FATAL error in this area,
this change will allow major simplifications in the mdoc(7) parser.
|
|
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.
|
|
and not trigger an assertion when there is more than one argument;
the latter found by jsg@ with afl.
|
|
fixing an assertion failure found by jsg@ with afl.
|
|
|
|
-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.
|
|
ok tedu@ miod@ deraadt@
|
|
ok bluhm@
|
|
idea from and ok ingo@
|
|
ok otto
|
|
which can for example happen for .Sh Xo .Sh without .Xc.
Crash found by jsg@ with afl.
|