diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2012-04-11 21:17:33 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2012-04-11 21:17:33 +0000 |
commit | 96dcc789a1356b3943d905f927b9a212ff52be80 (patch) | |
tree | 421e7755b3a59b099e6066b0183e4880b5e7f8af /usr.bin/file | |
parent | 0d214a32b2e9bdd2529d5e9a3762645e0d43cbeb (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