mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
improve comment
This commit is contained in:
parent
1c3f84503a
commit
05319463fb
1 changed files with 1 additions and 1 deletions
|
@ -3235,7 +3235,7 @@ int CmdHF14ANdefRead(const char *Cmd) {
|
||||||
aREAD_NDEF[2] = i >> 8;
|
aREAD_NDEF[2] = i >> 8;
|
||||||
aREAD_NDEF[3] = i & 0xFF;
|
aREAD_NDEF[3] = i & 0xFF;
|
||||||
|
|
||||||
// BUGBUG -- segment_size is stuffed into a single-byte field below?
|
// Segment_size is stuffed into a single-byte field below ... so error out if overflows
|
||||||
if (segment_size > 0xFFu) {
|
if (segment_size > 0xFFu) {
|
||||||
PrintAndLogEx(ERR, "Segment size too large (0x%zx > 0xFF)", segment_size);
|
PrintAndLogEx(ERR, "Segment size too large (0x%zx > 0xFF)", segment_size);
|
||||||
DropField();
|
DropField();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue