Re: [PATCH] crypto, gf128: fix call to memset()

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

 



On 7 Jul 2011 at 10:33, Mathias Krause wrote:

> In gf128mul_lle() and gf128mul_bbe() r isn't completely initialized with
> zero because the size argument passed to memset() is the size of the
> pointer, not the structure it points to.
> 
> Luckily there are no in-kernel users of those functions so the ABI
> change implied by this fix should break no existing code.
> 
> Based on a patch by the PaX Team.

just for the record, the bug was pointed out by a recent clang analysis pass.

--
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