linux-sg2042/scripts/mod
Kees Cook 849464d1ba kbuild: replace unbounded sprintf call in modpost
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>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2013-11-06 22:30:03 +01:00
..
.gitignore mod/file2alias: make modalias generation safe for cross compiling 2013-01-24 22:48:04 +01:00
Makefile improve modalias building 2013-06-28 00:48:16 +02:00
devicetable-offsets.c rapidio: add udev notification 2013-07-03 16:08:05 -07:00
empty.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
file2alias.c Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2013-07-10 16:05:40 -07:00
mk_elfconfig.c module: make MODULE_SYMBOL_PREFIX into a CONFIG option 2009-12-15 16:28:26 +10:30
modpost.c scripts/mod/modpost.c: permit '.cranges' secton for sh64 architecture. 2013-08-20 15:37:40 +09:30
modpost.h modpost: Fix modpost license checking of vmlinux.o 2012-04-09 20:52:56 -07:00
sumversion.c kbuild: replace unbounded sprintf call in modpost 2013-11-06 22:30:03 +01:00