summaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
authorGravatar tihmstar2023-11-15 00:41:21 +0100
committerGravatar Nikias Bassen2023-11-15 00:41:21 +0100
commit83600e92240cd2538cd82f90ed03601731b1b0d9 (patch)
tree6a0c5c925c7e771b3f10bd52408aacfe55ad078b /src/common.c
parent85ea3378255cc15e3f39365018f45a42d7469375 (diff)
downloadidevicerestore-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/common.c')
0 files changed, 0 insertions, 0 deletions