mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
coverity fix CID #370724
This commit is contained in:
@@ -267,7 +267,7 @@ static size_t emv_pk_write_str(char *out, size_t outlen, const char *str) {
|
||||
|
||||
char *emv_pk_dump_pk(const struct emv_pk *pk) {
|
||||
size_t outpos = 0;
|
||||
size_t outsize = 1024; // should be enough
|
||||
size_t outsize = 1048; // should be enough
|
||||
char *out = calloc(1, outsize); // should be enough
|
||||
if (!out)
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user