diff options
author | 2003-04-06 03:02:43 +0000 | |
---|---|---|
committer | 2003-04-06 03:02:43 +0000 | |
commit | 806a74b91c8ed5064d8f57ff0b3fe732b42c1d5f (patch) | |
tree | 0956168403fcf408cec6be843e44a98ad2c104d2 /usr.bin/patch/backupfile.c | |
parent | Consider 0 characters left to be a lack of format space. (diff) | |
download | wireguard-openbsd-806a74b91c8ed5064d8f57ff0b3fe732b42c1d5f.tar.xz wireguard-openbsd-806a74b91c8ed5064d8f57ff0b3fe732b42c1d5f.zip |
The disklabel fields d_packname and d_typename are not null terminated strings
and should not be created or used as such.
This fixes some instances of both behaviours, and sets the stage for some
strcpy -> strncpy fixup.
ok tdeval@ millert@ deraadt@
Diffstat (limited to 'usr.bin/patch/backupfile.c')
0 files changed, 0 insertions, 0 deletions