Re: Null dereference errors in the kernel

From: Luiz Fernando N. Capitulino
Date: Tue Jul 18 2006 - 17:14:38 EST

On Mon, 17 Jul 2006 20:49:19 -0700
Thomas Dillig <tdillig@xxxxxxxxxxxx> wrote:

| [4]
| 239 drivers/usb/misc/usblcd.c
| NULL dereference of variable "urb".

This is a false positive.

The tool is not taking the return statement into consideration
(and usb_free_urb() checks if the urb variable is NULL before deferencing

Luiz Fernando N. Capitulino
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at