summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/util.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2015-07-26 14:01:07 +0000
committerkrw <krw@openbsd.org>2015-07-26 14:01:07 +0000
commit83c056c317cb38b96f509256bbe3d7c5d21a2c80 (patch)
treee990634d0ce24dc81624e0bde944ed695ef8024f /usr.bin/patch/util.c
parentWhoops, "screen" we also change kbs=^H to kbs=\177 now (this is why we (diff)
downloadwireguard-openbsd-83c056c317cb38b96f509256bbe3d7c5d21a2c80.tar.xz
wireguard-openbsd-83c056c317cb38b96f509256bbe3d7c5d21a2c80.zip
Always initialize the b_error field and B_ERROR flag before using
a buf. Otherwise stale data might cause a successful I/O to be seen as a failed I/O. ok tedu@
Diffstat (limited to 'usr.bin/patch/util.c')
0 files changed, 0 insertions, 0 deletions