linux-stable-rt/scripts
Sam Ravnborg 7670f023aa [PATCH] kbuild: fix buffer overflow in modpost
Jiri Benc <jbenc@suse.cz> reported that modpost would stop with SIGABRT if
used with long filepaths.
The error looked like:
>   Building modules, stage 2.
>   MODPOST
> *** glibc detected *** scripts/mod/modpost: realloc(): invalid next size:
+0x0809f588 ***
> [...]

Fix this by allocating at least the required memory + SZ bytes each time.
Before we sometimes ended up allocating too little memory resuting in the
glibc detected bug above.  Based on patch originally submitted by: Jiri
Benc <jbenc@suse.cz>

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-17 07:51:25 -08:00
..
basic kbuild: escape '#' in .target.cmd files 2005-12-25 23:21:14 +01:00
genksyms gitignore: misc files 2006-01-01 22:21:50 +01:00
kconfig Revert "[PATCH] kconfig: detect if -lintl is needed when linking conf,mconf" 2006-02-09 08:00:14 -08:00
ksymoops
mod [PATCH] kbuild: fix buffer overflow in modpost 2006-03-17 07:51:25 -08:00
package kbuild: tar-pkg with out-out-tree building 2006-01-01 19:31:30 +01:00
.gitignore gitignore: ignore more generated files 2006-01-03 11:35:26 +01:00
Kbuild.include kbuild: introduce escsq to escapre single quotes 2006-01-06 22:35:59 +01:00
Lindent [PATCH] Lindent: ignore .indent.pro 2005-07-13 23:09:16 +00:00
Makefile kconfig: move lxdialog to scripts/kconfig/lxdialog 2005-12-16 21:35:19 +01:00
Makefile.build kbuild: introduce escsq to escapre single quotes 2006-01-06 22:35:59 +01:00
Makefile.clean kbuild: fix building external modules 2005-07-27 22:11:01 +02:00
Makefile.host [PATCH] kbuild: obey HOSTLOADLIBES_programname for single-file compilation 2005-07-13 22:11:14 +00:00
Makefile.lib kbuild: set correct KBUILD_MODNAME when using well known kernel symbols as module names 2005-12-26 00:33:41 +01:00
Makefile.modinst kbuild: introduce Kbuild.include 2005-07-25 20:10:36 +00:00
Makefile.modpost spelling: s/retreive/retrieve/ 2006-01-10 00:10:13 +01:00
bin2c.c
binoffset.c update the email address of Randy Dunlap 2006-01-03 13:37:51 +01:00
bloat-o-meter [PATCH] tiny: Add bloat-o-meter to scripts 2006-01-08 20:14:10 -08:00
checkconfig.pl
checkincludes.pl
checkstack.pl
checkversion.pl update the email address of Randy Dunlap 2006-01-03 13:37:51 +01:00
conmakehash.c [PATCH] kbuild: signed char fixes for scripts 2005-07-27 22:27:08 +02:00
extract-ikconfig
gcc-version.sh
gen_initramfs_list.sh
kallsyms.c [PATCH] Strip local symbols from kallsyms 2005-09-07 16:57:20 -07:00
kernel-doc [PATCH] kernel-doc: clean up the script (whitespace) 2006-02-01 08:53:27 -08:00
makelst
mkcompile_h kbuild: "PREEMPT" in UTS_VERSION 2005-07-14 20:18:07 +00:00
mkmakefile
mksysmap spelling: s/retreive/retrieve/ 2006-01-10 00:10:13 +01:00
mkuboot.sh
mkversion
namespace.pl
patch-kernel update the email address of Randy Dunlap 2006-01-03 13:37:51 +01:00
pnmtologo.c
reference_discarded.pl kbuild: reference_discarded addition 2006-01-08 18:56:51 +01:00
reference_init.pl buildcheck: reduce DEBUG_INFO noise from reference* scripts 2005-07-14 20:14:42 +00:00
setlocalversion kbuild: In setlocalversion change -git_dirty to just -dirty 2006-01-08 18:44:01 +01:00
show_delta
ver_linux [PATCH] Adapt scripts/ver_linux to new util-linux version strings 2005-09-07 16:57:33 -07:00