diff options
author | 2009-11-11 18:53:21 +0000 | |
---|---|---|
committer | 2009-11-11 18:53:21 +0000 | |
commit | 6871fa7eaa881d8ac408b0b33d476f6babe018f5 (patch) | |
tree | f22f90344fec0a08e5bcbd5900f756a26db2da16 /usr.bin/tmux/cmd-string.c | |
parent | fix leaks in error cases found by parfait (diff) | |
download | wireguard-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