On Tue, 15 Mar 2011 09:59:55 +0300
Dan Carpenter <erro...@gmail.com> wrote:

> ARRAY_SIZE() was intended here instead of sizeof().  sizeof() is four
> times larger than ARRAY_SIZE().  outstr is normally 256 chars so 
> printing garbage to it could overfill the buffer and corrupt memory.
> 
> Signed-off-by: Dan Carpenter <erro...@gmail.com>

Acked-by: Kim Phillips <kim.phill...@freescale.com>

Thanks Dan,

Kim

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

Reply via email to