If realloc fails, clean up and return ENOMEM; don't just copy data
into NULL.
Reported by: Claude Opus 5.5
Sponsored by: Amazon
Differential D60147
mkimg: Check for realloc failure Authored by cperciva on Sep 29 2026, 8:13 PM.
Details If realloc fails, clean up and return ENOMEM; don't just copy data Reported by: Claude Opus 5.5
Diff Detail
Event Timeline
| ||||||||||||||||||||||