git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[pandora-kernel.git]
/
drivers
/
isdn
/
gigaset
/
capi.c
diff --git
a/drivers/isdn/gigaset/capi.c
b/drivers/isdn/gigaset/capi.c
index
68452b7
..
03a0a01
100644
(file)
--- a/
drivers/isdn/gigaset/capi.c
+++ b/
drivers/isdn/gigaset/capi.c
@@
-248,6
+248,8
@@
static inline void dump_rawmsg(enum debuglevel level, const char *tag,
CAPIMSG_APPID(data), CAPIMSG_MSGID(data), l,
CAPIMSG_CONTROL(data));
l -= 12;
+ if (l <= 0)
+ return;
dbgline = kmalloc(3 * l, GFP_ATOMIC);
if (!dbgline)
return;