summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/patch.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2019-06-27 06:41:36 +0000
committerflorian <florian@openbsd.org>2019-06-27 06:41:36 +0000
commit3cd3751cbbf35a9725bc2480bd34868aea895049 (patch)
tree3e0716831530bad1e6b6cf309c70437b6bbc7193 /usr.bin/patch/patch.c
parentfix NULL deference (bzero) on error path added in last commit; (diff)
downloadwireguard-openbsd-3cd3751cbbf35a9725bc2480bd34868aea895049.tar.xz
wireguard-openbsd-3cd3751cbbf35a9725bc2480bd34868aea895049.zip
Be precise in checking for errors. pclose(3) returns -1 and fclose(3)
EOF in case of errors, not any negative number. EOF corner case spotted while reviewing a much bigger diff by deraadt OK deraadt, millert
Diffstat (limited to 'usr.bin/patch/patch.c')
0 files changed, 0 insertions, 0 deletions