mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
BUGS: more Coverity scan fixes.
This commit is contained in:
parent
2696349f16
commit
664bb5ae72
6 changed files with 10 additions and 13 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