diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-01-29 08:49:01 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-29 08:50:03 -0500 |
commit | 2985a6018f1123b8843023f09d004f477f59a009 (patch) | |
tree | c8d2e5cc8a7ccdf6f48887d4d20e71bdf38bae6c /src/feature/dirparse/authcert_members.i | |
parent | 19954cffd7710ccac778aa5cf15ae1bc6a5d56fa (diff) | |
download | tor-2985a6018f1123b8843023f09d004f477f59a009.tar.gz tor-2985a6018f1123b8843023f09d004f477f59a009.zip |
buf_read_from_tls: Return ERROR_MISC, not WANTWRITE, on BUG().
Fixes bug 32673; bugfix on 0.3.0.4-alpha. We introduced these
checks in ee5471f9aab5526 to help diagnose 21369, but we used "-1"
when "TOR_TLS_ERROR_MISC" would have been correct. Found by opara.
I don't think that this is actually getting triggered in the wild,
but if it were, it could cause nasty behavior: spurious
WANTREAD/WANTWRITE returns have a way of turning into CPU-eating
busy-loops.
Diffstat (limited to 'src/feature/dirparse/authcert_members.i')
0 files changed, 0 insertions, 0 deletions