lkml.org 
[lkml]   [2006]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2006-03-12 20:53    [W:0.061 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site