]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Coverity Scan 133850, need to ask @jason about this one.
authoriceman1001 <iceman@iuse.se>
Wed, 3 Aug 2016 07:32:07 +0000 (09:32 +0200)
committericeman1001 <iceman@iuse.se>
Wed, 3 Aug 2016 07:32:07 +0000 (09:32 +0200)
client/cmdhflegic.c

index 4ad60e3b073e32e2a851faadfa1e1c82b91f81ab..67085f8e5c02581abef45ee00c2b13c7918c5299 100644 (file)
@@ -297,7 +297,7 @@ int CmdLegicDecode(const char *Cmd) {
                        i = 8;
 
                        wrp          = data_buf[7] & 0x0F;
-                       wrc          = (data_buf[7] & 0x07) >> 4;
+                       wrc          = (data_buf[7] & 0x07) >> 4; // ICEMAN 20160802, this will always be ZERO
 
                        bool hasWRC = (wrc > 0);
                        bool hasWRP = (wrp > wrc);
Impressum, Datenschutz