mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-07-09 12:21:57 +00:00
fix coverity #910036
This commit is contained in:
@@ -363,10 +363,6 @@ int sam_get_serial_number(void) {
|
||||
goto error;
|
||||
}
|
||||
uint8_t *sam_serial_an = sam_response_an + 2;
|
||||
if (sam_serial_an == NULL) {
|
||||
if (g_dbglevel >= DBG_ERROR) DbpString(_RED_("SAM get serial number failed"));
|
||||
goto error;
|
||||
}
|
||||
|
||||
Dbprintf(_YELLOW_("Serial Number: "));
|
||||
Dbhexdump(sam_response_an[1], sam_serial_an, false);
|
||||
|
||||
Reference in New Issue
Block a user