Ticket #5898 defect closed duplicate

Opened 9 months ago

Last modified 9 months ago

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

memcache-fix-stack-overflow.patch Download (2.5 KB) - added by binbino 9 months ago.

Change History

Changed 9 months ago by binbino

1

Changed 9 months ago by binbino

  • cc ericsung2008@… added
  • summary changed from ix stack overflow in memcache protocol to fix stack overflow in memcache protocol
  • branch_author set to Eric Sung

2

Changed 9 months ago by exarkun

  • keywords review removed
  • status changed from new to closed
  • milestone regular-releases deleted
  • resolution set to duplicate
  • branch_author Eric Sung deleted

Duplicate of #3050.

Note: See TracTickets for help on using tickets.