BUGS: more Coverity scan fixes.

This commit is contained in:
iceman1001 committed 2015-05-13 14:08:59 +02:00
1 parent 2696349f16
commit 664bb5ae72
6 files changed
+10 -13

No files matched your search

+1 -1
View File
@@ -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;