]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fix oops on rmmod capidrv
authorKarsten Keil <kkeil@suse.de>
Fri, 25 Jan 2008 12:42:23 +0000 (13:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Feb 2008 20:01:48 +0000 (12:01 -0800)
commit0bf056904b95fa555c36eb0cfbcee9c015747f59
treed8ade02d189dc8dbb82650054a74ddddd21d706b
parent236dd7e3143e79b216e9f51e2488f9e3a60b4161
fix oops on rmmod capidrv

patch eb36f4fc019835cecf0788907f6cab774508087b in mainline.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/isdn/capi/capidrv.c