diff options
author | 2014-05-09 02:47:25 +0000 | |
---|---|---|
committer | 2014-05-09 02:47:25 +0000 | |
commit | f84850bae1a386b9d68713b88593232d04e13269 (patch) | |
tree | 44427255930172d1c2c982071270e95085600771 /lib/libc | |
parent | Various cleanup: (diff) | |
download | wireguard-openbsd-f84850bae1a386b9d68713b88593232d04e13269.tar.xz wireguard-openbsd-f84850bae1a386b9d68713b88593232d04e13269.zip |
After entering an invalid three-letter card name, one letter card names
stopped working because the third letter remained in the buffer,
incard() skipped the NUL and used the old garbage.
Fix this bug reported by pjanzen@, but in a simpler way than he
suggested, by just clearing any trailing garbage from the buffer.
ok pjanzen@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions