summaryrefslogtreecommitdiffstats
path: root/src/fls.c
AgeCommit message (Collapse)AuthorFilesLines
7 hoursfls: Handle realloc() failure when growing the element listGravatar Comtea041-4/+9
fls_parse_elements() assigned the result of realloc() directly to fls->elements, so on out-of-memory the array was leaked and the next store wrote through a NULL pointer. Grow the array before allocating the next element and stop parsing if that fails. Doing it first means there is nothing to clean up on the error path (a 0x0c element is also referenced by fls->c_element), and the elements parsed so far stay valid for fls_free(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2025-07-01Update codebase to use (const) void* and size_t where applicableGravatar Nikias Bassen1-6/+6
2025-06-23Refactor logging and add logfile supportGravatar Nikias Bassen1-9/+9
idevicerestore will now also create a logfile automatically, unless disabled with --logfile=NONE.
2013-12-02fls: remove redundant variable assignmentsGravatar Nikias Bassen1-4/+4
2013-12-01fls: removed unused variable and fix variable signednessGravatar Nikias Bassen1-3/+2
2012-07-17restore: implemented BasebandData requestGravatar Nikias Bassen1-0/+339