lkml.org 
[lkml]   [2013]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2013-11-07 06:41    [W:3.950 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site