Skip to content

Release v1.1.2: Refactored Stack Marker Validation for Defensive Ignored Rollbacks

Latest

Choose a tag to compare

@gooderfreed gooderfreed released this 25 Jun 23:16
7fc0f7b

This minor release refactors the stack marker verification path in estack_free_to_marker to ensure invalid markers are safely ignored without crashing in defensive mode.

Security & Robustness

  • Defensive Early-Return: Replaced hard assertions inside the marker magic and bounds checks with unified ESTACK_CHECK_V(false, ...) routing. Invalid or corrupted are now gracefully ignored and returned early in defensive mode, while still triggering debug assertions in contract mode.

Complex inside. Simple outside.