]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmfhard.c
FIX: Coverity Scans complain about uninitialized usage of struct. Setting s->ODD...
[proxmark3-svn] / client / cmdhfmfhard.c
index 95a6f8d7f04a6a8bf8f0d9b6708ff15d1721efdc..e2d6da74ebd7c042b113eda6333c99bff2e62913 100644 (file)
@@ -687,6 +687,7 @@ static void Check_for_FilterFlipProperties(void)
 static void simulate_MFplus_RNG(uint32_t test_cuid, uint64_t test_key, uint32_t *nt_enc, uint8_t *par_enc)
 {
        struct Crypto1State sim_cs;
+       sim_cs.odd = sim_cs.even = 0;
 
        // init cryptostate with key:
        for(int8_t i = 47; i > 0; i -= 2) {
Impressum, Datenschutz