summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-string.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-11-11 18:53:21 +0000
committernicm <nicm@openbsd.org>2009-11-11 18:53:21 +0000
commit6871fa7eaa881d8ac408b0b33d476f6babe018f5 (patch)
treef22f90344fec0a08e5bcbd5900f756a26db2da16 /usr.bin/tmux/cmd-string.c
parentfix leaks in error cases found by parfait (diff)
downloadwireguard-openbsd-6871fa7eaa881d8ac408b0b33d476f6babe018f5.tar.xz
wireguard-openbsd-6871fa7eaa881d8ac408b0b33d476f6babe018f5.zip
Add an explicit zero-length check for UTF-8 input data, prompted by a report
from parfait via deraadt. While here, add a statement to set the width when filling with _s if not enough space (width should never be high enough at the moment anyway), and wrap some long lines.
Diffstat (limited to 'usr.bin/tmux/cmd-string.c')
0 files changed, 0 insertions, 0 deletions