fix stack overflow in memcache protocol
|Reported by:||binbino||Owned by:|
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.
Change History (3)
Changed 3 years ago by binbino
comment:1 Changed 3 years ago by binbino
- Cc binbino added
- Summary changed from ix stack overflow in memcache protocol to fix stack overflow in memcache protocol