summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2012-09-06 19:06:04 +0000
committerkrw <krw@openbsd.org>2012-09-06 19:06:04 +0000
commite6f855f7a7cafb73415a238ce5cc66cfb52b38bc (patch)
treea948979a42614451a6acc141260c63fef538d365 /lib/libc
parentAvoid modifying argv when building argv for $* and $@ since it will (diff)
downloadwireguard-openbsd-e6f855f7a7cafb73415a238ce5cc66cfb52b38bc.tar.xz
wireguard-openbsd-e6f855f7a7cafb73415a238ce5cc66cfb52b38bc.zip
Remove the need to occasionally treat dos file names as strings by
using "%.11s" to print them out. Make all dos file names 11 byte arrays and nuke the attempt to put '\0' at the 12th position of such an array. Fixes 'panic: smashed stack in msdosfs_rename.c' reported by MERHIGI Marcus via tech@. Tested by MERHIGI Marcus. Suggestions and ok tedu@.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions