X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/7bb9d33e2c2dccd700db53468d58e7b6f5b796c6..e691fc45bcaf0ec02c0da0b472d06580046e918f:/client/cmdhf14b.c diff --git a/client/cmdhf14b.c b/client/cmdhf14b.c index 5317994f..6696ac09 100644 --- a/client/cmdhf14b.c +++ b/client/cmdhf14b.c @@ -334,6 +334,11 @@ int CmdHF14BCmdRaw (const char *cmd) { PrintAndLog("Invalid char on input"); return 0; } + if (datalen == 0) + { + PrintAndLog("Missing data input"); + return 0; + } if(crc) { uint8_t first, second;