You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CreateClient: missing NULL check after malloc() for rcl_client_t (CWE-476) #1616
If malloc() returns NULL (e.g. under memory exhaustion), the very next line dereferences the NULL pointer, causing a segmentation fault and crashing the process.
Addressed by #1613, which adds a NULL check immediately after the malloc() call, throwing a JS-visible error instead of crashing when allocation fails.
Activity
fix: add NULL pointer check in rcl_client_bindings.cpp (CWE-476) (#1613)
minggangw commentedon Sep 22, 2026
Fixed by #1613