projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
FIX: Coverity, out-of-bounds read, 124 is less than (0x10*8)+2 (130)
[proxmark3-svn]
/
armsrc
/
BigBuf.c
diff --git
a/armsrc/BigBuf.c
b/armsrc/BigBuf.c
index 64ad91ff6cc64e359f8c0cd827792f4f6c766e25..f3f23ddc9fe40b56004c1fe27e93fce17b1900ec 100644
(file)
--- a/
armsrc/BigBuf.c
+++ b/
armsrc/BigBuf.c
@@
-184,7
+184,7
@@
bool RAMFUNC LogTrace(const uint8_t *btBytes, uint16_t iLen, uint32_t timestamp_
traceLen += iLen;
// parity bytes
- if (
iLen
!= 0) {
+ if (
num_paritybytes
!= 0) {
if (parity != NULL) {
memcpy(trace + traceLen, parity, num_paritybytes);
} else {
Impressum
,
Datenschutz