summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2011-11-17 20:14:24 +0000
committernicm <nicm@openbsd.org>2011-11-17 20:14:24 +0000
commit564947216d8bd7638f698067b5ebab5a0105b560 (patch)
tree298e07bac182e2acf61b4f79981b00ca594badb1 /sys/kern/subr_hibernate.c
parent+.Xr cvs 1 , (diff)
downloadwireguard-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