diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-11-11 18:53:21 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-11-11 18:53:21 +0000 |
commit | 9df4e7597d86160f747bdbaa6bce043bf81fdb1f (patch) | |
tree | 794a780a2a5f97717bb8458a34cf3a049c2fe212 /cmd-string.c | |
parent | 08a8ccf46b46213d694b250287107712701431c3 (diff) |
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 'cmd-string.c')
0 files changed, 0 insertions, 0 deletions