mirror of
https://vps.suchmeme.nl/git/mudkip/Lockpick_RCM.git
synced 2024-11-25 19:46:53 +01:00
keys: Protect against free-before-use of kip
This commit is contained in:
parent
7a486e547e
commit
0459e813cf
@ -483,9 +483,11 @@ get_tsec: ;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
pkg2_done:
|
pkg2_done:
|
||||||
|
if (ki) {
|
||||||
free(ki->kip1);
|
free(ki->kip1);
|
||||||
free(pkg2);
|
|
||||||
free(ki);
|
free(ki);
|
||||||
|
}
|
||||||
|
free(pkg2);
|
||||||
|
|
||||||
u8 *rights_ids = NULL, *titlekeys = NULL;
|
u8 *rights_ids = NULL, *titlekeys = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user