mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-30 11:38:38 -07:00
@iceman1001 s coverity scan fixes
This commit is contained in:
parent
2b3af97df2
commit
e6432f0579
7 changed files with 13 additions and 16 deletions
|
@ -124,7 +124,7 @@ char * sprint_hex(const uint8_t * data, const size_t len) {
|
|||
|
||||
char *sprint_bin_break(const uint8_t *data, const size_t len, const uint8_t breaks) {
|
||||
|
||||
int maxLen = ( len > 1024) ? 1024 : len;
|
||||
int maxLen = ( len > 1020) ? 1020 : len;
|
||||
static char buf[1024];
|
||||
memset(buf, 0x00, 1024);
|
||||
char *tmp = buf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue