HF RL Explorer

Handle Out-of-Memory Errors and Invalid Arguments in Public API Functions

Handle Out-of-Memory Errors and Invalid Arguments in Public API Functions: a task in LegoFlow-SWE (Harbor dataset). Currently, several libavif functions fail to propagate allocation errors and silently accept invalid inputs, often leading to an unconditional abort() call instead of returning an…

The task

Currently, several libavif functions fail to propagate allocation errors and silently accept invalid inputs, often leading to an unconditional `abort()` call instead of returning an error code or NULL pointer. This makes it impossible for applications to gracefully recover from out-of-memory conditions or to detect…

Part of Lego-X/LegoFlow-SWE.