DamionWaltermeyer / dpkt

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

ssl.py TLSMultiFactory recursion causes stack overflow #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Feed TLSMultiFactory with a long sequence of packets.
2. ???
3. Profit.

A patch with a rewrite (and fix to a unit test) is attached below.

liulk

Original issue reported on code.google.com by liulk@google.com on 1 Apr 2014 at 2:47

Attachments:

GoogleCodeExporter commented 9 years ago
Will commit ASAP.

Original comment by andrewf...@gmail.com on 2 Apr 2014 at 10:05

GoogleCodeExporter commented 9 years ago

Original comment by andrewf...@gmail.com on 2 Apr 2014 at 10:07