mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
coverity
This commit is contained in:
parent
7473bebdbd
commit
95e8f0693e
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ static int ndefDecodePayload(NDEFHeader_t *ndef, bool verbose);
|
|||
static uint16_t ndefTLVGetLength(const uint8_t *data, size_t *indx) {
|
||||
uint16_t len = 0;
|
||||
if (data[0] == 0xFF) {
|
||||
len = (data[1] << 8) + data[2];
|
||||
len = MemBeToUint2byte(data + 1);
|
||||
*indx += 3;
|
||||
} else {
|
||||
len = data[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue