diff options
author | 2011-11-17 20:14:24 +0000 | |
---|---|---|
committer | 2011-11-17 20:14:24 +0000 | |
commit | 564947216d8bd7638f698067b5ebab5a0105b560 (patch) | |
tree | 298e07bac182e2acf61b4f79981b00ca594badb1 /sys/kern/subr_hibernate.c | |
parent | +.Xr cvs 1 , (diff) | |
download | wireguard-openbsd-564947216d8bd7638f698067b5ebab5a0105b560.tar.xz wireguard-openbsd-564947216d8bd7638f698067b5ebab5a0105b560.zip |
Calculate the size for the wchar_t argv correctly, fixes memory
corruption reported by LEVAI Daniel <leva at ecentrum dot hu>. Also
rename "bytes" to "wlen" since bytes is not accurate, suggested by
stsp@.
ok stsp oga
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions