Re: [2.6 patch] drivers/char/watchdog/pcwd_usb.c: fix a NULL pointer dereference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux