diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-12-09 11:02:34 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-12-09 11:02:34 -0500 |
commit | c56bb300447688788cb4c78c0290bc95386e63d9 (patch) | |
tree | 788c96f383aef9dc6a0730e3807691c33bfcadbe /src/or/onion_ntor.c | |
parent | 7ef2939e5a902c6159227de176622ee9388e34a4 (diff) | |
download | tor-c56bb300447688788cb4c78c0290bc95386e63d9.tar.gz tor-c56bb300447688788cb4c78c0290bc95386e63d9.zip |
Remove a check in channeltls.c that could never fail.
We were checking whether a 8-bit length field had overflowed a
503-byte buffer. Unless somebody has found a way to store "504" in a
single byte, it seems unlikely.
Fix for 10313 and 9980. Based on a pach by Jared L Wong. First found
by David Fifield with STACK.
Diffstat (limited to 'src/or/onion_ntor.c')
0 files changed, 0 insertions, 0 deletions