Andreas Gruenbacher 098c5eea03 [PATCH] null-terminate over-long /proc/kallsyms symbols
Got a customer bug report (https://bugzilla.novell.com/190296) about kernel
symbols longer than 127 characters which end up in a string buffer that is
not NULL terminated, leading to garbage in /proc/kallsyms.  Using strlcpy
prevents this from happening, even though such symbols still won't come out
right.

A better fix would be to not use a fixed-size buffer, but it's probably not
worth the trouble.  (Modversion'ed symbols even have a length limit of 60.)

[bunk@stusta.de: build fix]
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-14 21:53:52 -07:00
..
2006-07-01 05:43:06 -04:00
2006-07-01 07:44:10 -04:00
2005-04-16 15:20:36 -07:00
2006-07-10 13:24:26 -07:00
2006-03-26 08:57:03 -08:00
2005-10-08 15:00:57 -07:00
2006-06-26 09:58:22 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:04 -07:00
2006-07-10 13:24:13 -07:00
2005-04-16 15:20:36 -07:00
2006-07-10 13:24:18 -07:00
2006-04-19 16:27:18 -07:00
2006-07-10 13:24:25 -07:00