ninenines / cowlib

Support library for manipulating Web protocols.
ISC License
279 stars 173 forks source link

add a bad length guard for parse `RST_STREAM` frames in cow_http2 #132

Closed beligante closed 1 year ago

beligante commented 1 year ago

Closes: https://github.com/ninenines/cowlib/issues/131

Adding a guard that checks if the length is different than 4 bytes, ensures that parse function asks for more data when the length is ==4 but there's not enough data yet

essen commented 1 year ago

Merged, thanks!