veso266 / impacket

Automatically exported from code.google.com/p/impacket
Other
0 stars 0 forks source link

Invalid TCP Options not handled #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Impacket will get stuck in an infinite loop while processing TCP Options if 
op_len is less than 2.

Attached is a fix that handles this case.

Original issue reported on code.google.com by o...@divinehawk.com on 13 Sep 2011 at 4:23

Attachments:

GoogleCodeExporter commented 9 years ago
In the revision [542] we fixed TCP parser to avoid get stuck while parsing TCP 
options. Also we added a testcase to support this case.

Original comment by gmore...@gmail.com on 10 May 2012 at 2:04