mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-08 17:18:10 +08:00
fix CID #405223 - use after free, all callers must handle bad returns properly
This commit is contained in:
parent
f9da8615e4
commit
aebbdaea2d
1 changed files with 0 additions and 1 deletions
|
@ -3572,7 +3572,6 @@ static int DesfireCreateFileParameters(
|
|||
bool userawfrights = false;
|
||||
if (frightsid) {
|
||||
if (CLIGetUint32Hex(ctx, frightsid, 0xeeee, &frights, &userawfrights, 2, "File rights must have 2 bytes length")) {
|
||||
CLIParserFree(ctx);
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue