]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Fix buffer overflow and races in capi debug functions
authorKarsten Keil <kkeil@suse.de>
Thu, 1 Mar 2007 04:13:50 +0000 (20:13 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 1 Mar 2007 22:53:39 +0000 (14:53 -0800)
commit17f0cd2f350b90b28301e27fe0e39f34bfe7e730
tree6baba85d4f3b83398dc5a412b328bfcef1633548
parent34bbd704051c9d053d69e90569a3a2365f4c7b50
[PATCH] Fix buffer overflow and races in capi debug functions

The CAPI trace debug functions were using a fixed size buffer, which can be
overflowed if wrong formatted CAPI messages were sent to the kernel capi
layer.  The code was also not protected against multiple callers.  This fix
bug 8028.

Additionally the patch make the CAPI trace functions optional.

Signed-off-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/isdn/capi/Kconfig
drivers/isdn/capi/capidrv.c
drivers/isdn/capi/capiutil.c
drivers/isdn/capi/kcapi.c
include/linux/isdn/capiutil.h