mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Prevent double free in mar_sign.c
This commit is contained in:
parent
f52945acfa
commit
a959f4717e
1 changed files with 1 additions and 0 deletions
|
|
@ -534,6 +534,7 @@ extract_signature(const char *src, uint32_t sigIndex, const char * dest)
|
|||
for (i = 0; i <= sigIndex; i++) {
|
||||
/* Avoid leaking while skipping signatures */
|
||||
free(extractedSignature);
|
||||
extractedSignature = NULL;
|
||||
|
||||
/* skip past the signature algorithm ID */
|
||||
if (fseeko(fpSrc, sizeof(uint32_t), SEEK_CUR)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue