Messages in this thread | | | Date | Sun, 12 Mar 2006 20:50:47 +0100 | From | Wim Van Sebroeck <> | Subject | Re: [2.6 patch] drivers/char/watchdog/pcwd_usb.c: fix a NULL pointer dereference |
| |
Hi Adrian,
> The Coverity checker noted that this resulted in a NULL pointer > reference if we were coming from > > if (usb_pcwd == NULL) { > printk(KERN_ERR PFX "Out of memory\n"); > goto error; > } > > > Signed-off-by: Adrian Bunk <bunk@stusta.de>
This is indeed a bug. I added this patch into my linux-2.6-watchdog-mm tree and I have tested it positively with a PCWD-USB card.
Thanks, Wim.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |