Menu

#2773 sblim-sfcc: Fix possible __clone() stack exhaustion

Security
open
nobody
None
sfcc
5
4 days ago
4 days ago
No

Hi,

The sblim-sfcc library uses a recursive function (__clone()) to clone CIM class method lists. When the getClass() API processes a CIM class containing an extremely large number of methods (5,000+ with constrained stack, 130,000+ with default 8MB stack), the recursion depth can exceed available stack space, causing a stack overflow and crashing the CIM client.

Proposed fix attached.

1 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB