]> git.baikalelectronics.ru Git - kernel.git/commit
fix oops on rmmod capidrv
authorKarsten Keil <kkeil@suse.de>
Fri, 25 Jan 2008 10:55:28 +0000 (11:55 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jan 2008 16:26:10 +0000 (08:26 -0800)
commit93ae2e83c4129ec5e71b22be67e22b53039b6e56
treeb834e3213c822735006c25f0c4f6e4ed6cafc181
parent537016687aacd7e98d64c68cb1152a93eb5bb6f7
fix oops on rmmod capidrv

Fix overwriting the stack with the version string
(it is currently 10 bytes + zero) when unloading the
capidrv module. Safeguard against overwriting it
should the version string grow in the future.

Should fix Kernel Bug Tracker Bug 9696.

Signed-off-by: Gerd v. Egidy <gerd.von.egidy@intra2net.com>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/isdn/capi/capidrv.c