Re: [PATCH] kbuild: replace unbounded sprintf call in modpost

From: Michal Marek
Date: Thu Nov 07 2013 - 00:14:11 EST


On Fri, Oct 25, 2013 at 06:14:43AM -0700, Kees Cook wrote:
> The modpost tool could overflow its stack buffer if someone was running
> with an insane shell environment. Regardless, it's technically a bug,
> so this fixes it to truncate the string instead of seg-faulting.
>
> Found by Coverity.
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>

Applied to kbuild.git#kbuild.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/