From: Karsten Keil Date: Thu, 1 Mar 2007 04:13:50 +0000 (-0800) Subject: [PATCH] Fix buffer overflow and races in capi debug functions X-Git-Tag: v2.6.21-rc3~156 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17f0cd2f350b90b28301e27fe0e39f34bfe7e730;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed