From: marshmellow42 Date: Sun, 14 Feb 2016 22:41:16 +0000 (-0500) Subject: verify wait isn't null X-Git-Tag: v2.3.0~7^2~2 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/e7707cdb1713b6f0b20e47867f6675de848331e6 verify wait isn't null --- diff --git a/armsrc/iclass.c b/armsrc/iclass.c index 4e4854ca..f99d0eca 100644 --- a/armsrc/iclass.c +++ b/armsrc/iclass.c @@ -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; }