DeepSpeed
Fix memory leak and NULL-deref in shm_initialize
#8565
Merged

Fix memory leak and NULL-deref in shm_initialize #8565

tritsystem
tritsystem Fix memory leak of workspace_buf in shm_initialize (CWE-401)
daa98a09
tritsystem tritsystem requested a review from tjruwase tjruwase 79 days ago
tritsystem Fix NULL pointer dereference on unchecked calloc in shm_initialize (C…
89ca1a04
tritsystem tritsystem changed the title Fix memory leak of workspace_buf in shm_initialize Fix memory leak and NULL-deref in shm_initialize 79 days ago
ebarkhordar
ebarkhordar commented on 2026-09-17
delock delock requested a review from delock delock 79 days ago
sfc-gh-truwase
sfc-gh-truwase approved these changes on 2026-09-17
sfc-gh-truwase
tritsystem Guard the workspace_buf malloc() the same way as the calloc()s below
8d07b4ef
sfc-gh-truwase Merge branch 'master' into fix-shm-workspace-buf-leak
afb048cb
tritsystem tritsystem force pushed from ff50e769 to afb048cb 78 days ago
delock
delock commented on 2026-09-18
tritsystem Remove explanatory comment above the workspace_buf malloc() guard
8683537a
delock
delock approved these changes on 2026-09-21
delock delock enabled auto-merge 75 days ago
delock Merge branch 'master' into fix-shm-workspace-buf-leak
46b2c5f4
delock delock merged 1f5f9888 into master 75 days ago
auto-pr-labeler-with-jev auto-pr-labeler-with-jev added skip-gpu-test

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone