android_kernel_google_msm/drivers/isdn
Tilman Schmidt 3a2593d544 isdn/gigaset: fix zero size border case in debug dump
[ Upstream commit d721a1752b ]

If subtracting 12 from l leaves zero we'd do a zero size allocation,
leading to an oops later when we try to set the NUL terminator.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-14 10:49:04 -08:00
..
act2000
capi Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-03-20 21:04:47 -07:00
divert
gigaset isdn/gigaset: fix zero size border case in debug dump 2013-02-14 10:49:04 -08:00
hardware Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-04-02 17:53:39 -07:00
hisax Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
hysdn
i4l Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
icn
isdnloop isdnloop: fix and simplify isdnloop_init() 2012-10-02 10:29:35 -07:00
mISDN
pcbit Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
sc
Kconfig
Makefile