AntiPattern

Unsafe Bounds & Concurrency

precheck-read-unsafe-interrupt-mutex

Read operations can occur before bounds or NULL checks, and shared-state cleanup relies on mutexes that can’t be safely taken during interrupts, leaving memory access and lock lifecycle out of order.