mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
coverity fix CID #370724
This commit is contained in:
parent
105d5334db
commit
c754122a74
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue