We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encountered the following traceback while fuzzing hyper-h2:
Traceback (most recent call last): File "script.py", line 10, in <module> c.receive_data(sys.stdin.read()) File "/Users/cory/tmp/fuzz-results/env/lib/python2.7/site-packages/h2/connection.py", line 892, in receive_data events.extend(self._receive_frame(frame)) File "/Users/cory/tmp/fuzz-results/env/lib/python2.7/site-packages/h2/connection.py", line 915, in _receive_frame frames, events = self._frame_dispatch_table[frame.__class__](frame) File "/Users/cory/tmp/fuzz-results/env/lib/python2.7/site-packages/h2/connection.py", line 956, in _receive_headers_frame headers = self.decoder.decode(frame.data) File "/Users/cory/tmp/fuzz-results/env/lib/python2.7/site-packages/hpack/hpack.py", line 334, in decode data[current_index:] File "/Users/cory/tmp/fuzz-results/env/lib/python2.7/site-packages/hpack/hpack.py", line 375, in _decode_literal_index return self._decode_literal(data, True) File "/Users/cory/tmp/fuzz-results/env/lib/python2.7/site-packages/hpack/hpack.py", line 416, in _decode_literal length, consumed = decode_integer(data, 7) File "/Users/cory/tmp/fuzz-results/env/lib/python2.7/site-packages/hpack/hpack.py", line 60, in decode_integer number = to_byte(data[index]) & mask IndexError: string index out of range
It would be good if this threw a hpack-specific exception instead of IndexError.
IndexError
The text was updated successfully, but these errors were encountered:
Changelog for #23.
9558d62
No branches or pull requests
Encountered the following traceback while fuzzing hyper-h2:
It would be good if this threw a hpack-specific exception instead of
IndexError
.The text was updated successfully, but these errors were encountered: