summaryrefslogtreecommitdiffstats
path: root/usr.sbin/smtpd/log.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2010-11-27 20:52:34 +0000
committerschwarze <schwarze@openbsd.org>2010-11-27 20:52:34 +0000
commit4dcc0b9a900ed55625ee8548cdc52cecf5a398e8 (patch)
treeaaef420c111546facfba88a89c4deb3906ab5244 /usr.sbin/smtpd/log.c
parentRework the way saved registers are displayed in arm backtraces, to yield a (diff)
downloadwireguard-openbsd-4dcc0b9a900ed55625ee8548cdc52cecf5a398e8.tar.xz
wireguard-openbsd-4dcc0b9a900ed55625ee8548cdc52cecf5a398e8.zip
Two related bugfixes:
1) When using a user-defined string of length 0 as a macro, do not access memory before the start of the string (segfault). 2) When beginning to define a user-defined macro, initialize the string representing the macro to the empty string, not to the NULL pointer, such that, in case the macro turns out to not have any content, like in .de IX .. the macro will be defined and empty instead of undefined. This avoids large numbers of bogus mandoc ERROR messages about undefined macros (which are actually defined and empty), in particular in man(7) code generated from pod2man(1), for example in Perl and OpenSSL.
Diffstat (limited to 'usr.sbin/smtpd/log.c')
0 files changed, 0 insertions, 0 deletions