summaryrefslogtreecommitdiff
path: root/usr.bin/file
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2012-04-11 21:17:33 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2012-04-11 21:17:33 +0000
commit96dcc789a1356b3943d905f927b9a212ff52be80 (patch)
tree421e7755b3a59b099e6066b0183e4880b5e7f8af /usr.bin/file
parent0d214a32b2e9bdd2529d5e9a3762645e0d43cbeb (diff)
In the "reply" code path, lock the socket while invoking the
write-end code from the read-end code, and don't forget to check if the socket was not destroyed. Fixes very rare random crashes.
Diffstat (limited to 'usr.bin/file')
0 files changed, 0 insertions, 0 deletions