Ticket #3050 defect closed fixed
t.p.basic.LineReceiver StackOverflow
| Reported by: | ghazel | Owned by: | therve |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | spiv, ivank | Branch: | branches/linereceiver-stack-3050 |
| Author: | therve, ghazel | Launchpad Bug: |
Description
If a LineReceiver-based protocol switches back and forth between line and data modes several times on the same packet, it can hit the maximum stack recursion depth.
Attached is a patch to fix that in LineReceiver, with a unit test that fails with trunk and passes with the patch applied.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

