[PATCH]Re: [linux-usb-devel] drivers/usb/misc/iowarrior.c: NULL dereference

2007-03-19 Thread Oliver Neukum
Am Montag, 19. März 2007 10:25 schrieb Adrian Bunk: > The Coverity checker spotted the following NULL dereference: And this fixes an oops upon allocation failures. Regards Oliver Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> - ---

Re: [linux-usb-devel] drivers/usb/misc/iowarrior.c: NULL dereference

2007-03-19 Thread Oliver Neukum
Am Montag, 19. März 2007 10:25 schrieb Adrian Bunk: > static ssize_t iowarrior_write(struct file *file, >const char __user *user_buffer, >size_t count, loff_t *ppos) > { > ... > if (!int_out_urb) { >

drivers/usb/misc/iowarrior.c: NULL dereference

2007-03-19 Thread Adrian Bunk
The Coverity checker spotted the following NULL dereference: <-- snip --> ... static ssize_t iowarrior_write(struct file *file, const char __user *user_buffer, size_t count, loff_t *ppos) { ... if (!int_out_urb) {

drivers/usb/misc/iowarrior.c: NULL dereference

2007-03-19 Thread Adrian Bunk
The Coverity checker spotted the following NULL dereference: -- snip -- ... static ssize_t iowarrior_write(struct file *file, const char __user *user_buffer, size_t count, loff_t *ppos) { ... if (!int_out_urb) {

Re: [linux-usb-devel] drivers/usb/misc/iowarrior.c: NULL dereference

2007-03-19 Thread Oliver Neukum
Am Montag, 19. März 2007 10:25 schrieb Adrian Bunk: static ssize_t iowarrior_write(struct file *file, const char __user *user_buffer, size_t count, loff_t *ppos) { ... if (!int_out_urb) {

[PATCH]Re: [linux-usb-devel] drivers/usb/misc/iowarrior.c: NULL dereference

2007-03-19 Thread Oliver Neukum
Am Montag, 19. März 2007 10:25 schrieb Adrian Bunk: The Coverity checker spotted the following NULL dereference: And this fixes an oops upon allocation failures. Regards Oliver Signed-off-by: Oliver Neukum [EMAIL PROTECTED] - ---