]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/nonce2key/crypto1.c
FIX: Coverity Scans complain about uninitialized usage of struct. Setting s->ODD...
[proxmark3-svn] / client / nonce2key / crypto1.c
index f6779a189415e37d3867d5e4816b5d1727882e32..e5a3fe73dc59ff2e8f53dee2d8a6273d2b8a6b96 100644 (file)
@@ -23,6 +23,7 @@
 struct Crypto1State * crypto1_create(uint64_t key)
 {
        struct Crypto1State *s = malloc(sizeof(*s));
+       s->odd = s->even = 0;   
        int i;
 
        for(i = 47;s && i > 0; i -= 2) {
Impressum, Datenschutz