mirror of
https://git.gtahub.st/github/codec-d--cool_fox.git
synced 2026-12-06 14:28:35 +00:00
A slice may not start at null, even an empty one, so asking for a title image's name with (NULL, 0) was undefined behaviour; a debug build aborted the process. A null buffer is now no buffer: nothing is written, 0 is returned and the last error is ERROR_INSUFFICIENT_BUFFER. (cherry picked from commit c000581df2cf12aaadfe49025f9abba8b5993c8e)