summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorSam Ravnborg2006-03-17 08:04:08 +0100
committerLinus Torvalds2006-03-17 16:51:25 +0100
commit7670f023aabd976c25862e4c6fb9f6d9d2758153 (patch)
tree13c1c1fe41028f1f4752e10eef1a162b4f38c937 /mm/memory.c
parent[PATCH] nfsservctl(): remove user-triggerable printk (diff)
downloadkernel-qcow2-linux-7670f023aabd976c25862e4c6fb9f6d9d2758153.tar.gz
kernel-qcow2-linux-7670f023aabd976c25862e4c6fb9f6d9d2758153.tar.xz
kernel-qcow2-linux-7670f023aabd976c25862e4c6fb9f6d9d2758153.zip
[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>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions