crypto_cbc_encrypt query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
  Shouldn't "walk" be memset ?

FILE:            crypto/cbc.c
FUNCTION:  crypto_cbc_encrypt

"walk" is local variable and its uninitialized in
"crypto_cbc_encrypt". The same is passed to
"blkcipher_walk_virt" which does below

walk->flags &= ~BLKCIPHER_WALK_PHYS;

So neither 'walk' nor 'walk->flags' is memset or init to a proper value.

Thanks,
Pavi
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux