summaryrefslogtreecommitdiffstats
path: root/dba_write.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-04-24 13:38:46 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-04-24 13:38:46 +0000
commit43f9fbf1c67bd7237ef7670c2fd3019a4bbc84f0 (patch)
tree38a625b9c89a8ddb151eed876697ef560453022a /dba_write.c
parent90d64fa2f97635da52e38a1dfeba56f657a11bbd (diff)
downloadmandoc-43f9fbf1c67bd7237ef7670c2fd3019a4bbc84f0.tar.gz
If a .shift request has a negative argument, do not use a negative array
index but use 0 instead of the argument, just like groff. Warn about the invalid argument. While here, fix the column number in another warning message. Segfault reported by tb@, found with afl(1).
Diffstat (limited to 'dba_write.c')
0 files changed, 0 insertions, 0 deletions