This is a note to let you know that I've just added the patch titled
caif: fix NULL pointer check
to the 3.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
caif-fix-null-pointer-check.patch
and it can be found in the queue-3.0 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 9b19693fb723a0b184c71e9a96cbacf588126a36 Mon Sep 17 00:00:00 2001
From: Alan Cox <[email protected]>
Date: Tue, 24 Jul 2012 02:42:14 +0000
Subject: caif: fix NULL pointer check
From: Alan Cox <[email protected]>
[ Upstream commit c66b9b7d365444b433307ebb18734757cb668a02 ]
Reported-by: <[email protected]>
Resolves-bug: http://bugzilla.kernel.org/show_bug?44441
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/net/caif/caif_serial.c | 3 +++
1 file changed, 3 insertions(+)
--- a/drivers/net/caif/caif_serial.c
+++ b/drivers/net/caif/caif_serial.c
@@ -325,6 +325,9 @@ static int ldisc_open(struct tty_struct
sprintf(name, "cf%s", tty->name);
dev = alloc_netdev(sizeof(*ser), name, caifdev_setup);
+ if (!dev)
+ return -ENOMEM;
+
ser = netdev_priv(dev);
ser->tty = tty_kref_get(tty);
ser->dev = dev;
Patches currently in stable-queue which might be from [email protected] are
queue-3.0/sch_sfb-fix-missing-null-check.patch
queue-3.0/wanmain-comparing-array-with-null.patch
queue-3.0/caif-fix-null-pointer-check.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html