]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfhid.c
FIX: CoverityScan 123358 and 133864 - Unchecked return value
[proxmark3-svn] / client / cmdlfhid.c
index b9d3ace32188a49aa9af9780af9276988b4945e0..fd0f6eba137572b7d25b38d835eccdaf2206daf1 100644 (file)
@@ -319,7 +319,8 @@ int CmdHIDWiegand(const char *Cmd) {
        uint32_t oem = 0, fc = 0;
        uint64_t cardnum = 0;
        
-       uint32_t blocks[2], wiegand[2];
+       uint32_t blocks[2] = {0,0};
+       uint32_t wiegand[2] = {0,0}; 
 
        uint8_t bits[96];
        uint8_t *bs = bits;
Impressum, Datenschutz