Messages in this thread | | | Date | Wed, 6 Nov 2013 22:30:33 +0100 | From | Michal Marek <> | Subject | Re: [PATCH] kbuild: replace unbounded sprintf call in modpost |
| |
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@chromium.org>
Applied to kbuild.git#kbuild.
Michal
| |