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)
comment:1 Changed 4 years ago by
|Author:||→ Eric Sung|
|Summary:||ix stack overflow in memcache protocol → fix stack overflow in memcache protocol|