summaryrefslogtreecommitdiffstats
path: root/src/log.h
diff options
context:
space:
mode:
authorGravatar Comtea042026-10-05 11:44:56 +0900
committerGravatar Nikias Bassen2026-11-27 02:46:05 +0100
commit784d3d7069cfd9165013542bdc89c107cfc2af2e (patch)
tree28f295f8db0fc95c6f9681635ed054f9c0250ff1 /src/log.h
parent72949d4ce836a815e4cf661a84f549924b407c24 (diff)
downloadidevicerestore-784d3d7069cfd9165013542bdc89c107cfc2af2e.tar.gz
idevicerestore-784d3d7069cfd9165013542bdc89c107cfc2af2e.tar.bz2
idevicerestore: Handle realloc() failure when reading gzip data
The loop that reads gzip compressed data grew its buffer with bin = realloc(bin, bufsize), so on out-of-memory the buffer was leaked and the next gzread() wrote through a NULL pointer. Check the result and fail the same way as the gzread() error just above. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'src/log.h')
0 files changed, 0 insertions, 0 deletions