]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
verify wait isn't null
authormarshmellow42 <marshmellowrf@gmail.com>
Sun, 14 Feb 2016 22:41:16 +0000 (17:41 -0500)
committermarshmellow42 <marshmellowrf@gmail.com>
Sun, 14 Feb 2016 22:41:16 +0000 (17:41 -0500)
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