fix oops on rmmod capidrv
commiteb36f4fc019835cecf0788907f6cab774508087b
authorKarsten Keil <kkeil@suse.de>
Fri, 25 Jan 2008 10:55:28 +0000 (25 11:55 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jan 2008 16:26:10 +0000 (25 08:26 -0800)
treeb834e3213c822735006c25f0c4f6e4ed6cafc181
parent49914084e797530d9baaf51df9eda77babc98fa8
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