diff options
author | tihmstar | 2023-11-15 00:41:21 +0100 |
---|---|---|
committer | Nikias Bassen | 2023-11-15 00:41:21 +0100 |
commit | 83600e92240cd2538cd82f90ed03601731b1b0d9 (patch) | |
tree | 6a0c5c925c7e771b3f10bd52408aacfe55ad078b /src/dfu.h | |
parent | 85ea3378255cc15e3f39365018f45a42d7469375 (diff) | |
download | idevicerestore-83600e92240cd2538cd82f90ed03601731b1b0d9.tar.gz idevicerestore-83600e92240cd2538cd82f90ed03601731b1b0d9.tar.bz2 |
restore: Fix UaF
`fsname_base` points inside the dynamically allocated `path` which is
freed before `fsname_base` is used, creating a use-after-free condition.
This commits makes sure to free `path` only after it is no longer needed.
Diffstat (limited to 'src/dfu.h')
0 files changed, 0 insertions, 0 deletions