]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/iclass.c
verify wait isn't null
[proxmark3-svn] / armsrc / iclass.c
index 4e4854caa11943d061ad66e0ed3ae9d6328c6be6..f99d0ecac4dc18d421433d310c73b160d696eecd 100644 (file)
@@ -1447,7 +1447,7 @@ static void TransmitIClassCommand(const uint8_t *cmd, int len, int *samples, int
     }
     WDT_HIT();
   }
-  if (samples) *samples = (c + *wait) << 3;
+  if (samples && wait) *samples = (c + *wait) << 3;
 }
 
 
Impressum, Datenschutz