public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/4] UEAGLE : null pointer dereference fix
@ 2006-04-02 16:39 matthieu castet
  2006-04-02 16:44 ` matthieu castet
  0 siblings, 1 reply; 2+ messages in thread
From: matthieu castet @ 2006-04-02 16:39 UTC (permalink / raw)
  To: greg; +Cc: linux-kernel, usbatm, linux-usb-devel, ueagle

[-- Attachment #1: Type: text/plain, Size: 196 bytes --]

Hi,

this patch fix potential null pointer dereference.  Found by the 
Coverity checker.

Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>



[-- Attachment #2: ueagle3.patch --]
[-- Type: text/plain, Size: 386 bytes --]

Index: ueagle-atm.c
===================================================================
--- ueagle-atm.c	(révision 265)
+++ ueagle-atm.c	(révision 266)
@@ -1673,7 +1673,7 @@
 
 	sc = kzalloc(sizeof(struct uea_softc), GFP_KERNEL);
 	if (!sc) {
-		uea_err(INS_TO_USBDEV(sc), "uea_init: not enough memory !\n");
+		uea_err(usb, "uea_init: not enough memory !\n");
 		return -ENOMEM;
 	}
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-02 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-02 16:39 [PATCH 3/4] UEAGLE : null pointer dereference fix matthieu castet
2006-04-02 16:44 ` matthieu castet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox