summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nginx/src/os/unix/ngx_process.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2011-11-11 18:21:06 +0000
committerkrw <krw@openbsd.org>2011-11-11 18:21:06 +0000
commit2c951917f38d9db5324bde8931a148f65d56f4c0 (patch)
tree73b16b011f2b0153477de8dd20808c53eccbea01 /usr.sbin/nginx/src/os/unix/ngx_process.c
parentRemove a bogus check which dereferences an uninitialised pointer. (diff)
downloadwireguard-openbsd-2c951917f38d9db5324bde8931a148f65d56f4c0.tar.xz
wireguard-openbsd-2c951917f38d9db5324bde8931a148f65d56f4c0.zip
A zero-length partition is a non-partition, so reject a partition
length of 0. And anyway PRT_fix_CHS() writes garbage when length is zero. Refresh the in-memory copy to reflect any data that was written out, so you can see that your changes have taken effect. Surprise behaviours noted by matthew@ at c2k11.
Diffstat (limited to 'usr.sbin/nginx/src/os/unix/ngx_process.c')
0 files changed, 0 insertions, 0 deletions