Ticket #5898 defect closed duplicate
fix stack overflow in memcache protocol
| Reported by: | binbino | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | memcache |
| Cc: | ericsung2008@… | Branch: | |
| Author: | Launchpad Bug: |
Description
Memcache protocol uses line received that can be switched to raw mode. If large packet containing multiple segments of alternating line and raw data is received, it is processed recursively, causing stack overflow.
Simplify this code and cut this recursion using while loop.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

