[patch] [checker] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-24 Thread Andrew Morton
This gets us about 1/3 of the way through this one. Affected files: fs/proc/generic.c arch/i386/kernel/irq.c arch/i386/kernel/mtrr.c drivers/acpi/dispatcher/dswload.c drivers/atm/zatm.c drivers/block/DAC960.c drivers/block/ll_rw_blk.c drivers/char/pc_keyb.c drivers/char/rio/rio_linux.c

[patch] [checker] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-24 Thread Andrew Morton
This gets us about 1/3 of the way through this one. Affected files: fs/proc/generic.c arch/i386/kernel/irq.c arch/i386/kernel/mtrr.c drivers/acpi/dispatcher/dswload.c drivers/atm/zatm.c drivers/block/DAC960.c drivers/block/ll_rw_blk.c drivers/char/pc_keyb.c drivers/char/rio/rio_linux.c

RE: [CHECKER] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-19 Thread Grover, Andrew
Well the ACPI bugs look legitimate. We'll work on getting those fixed. Thanks for your efforts! Regards -- Andy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

RE: [CHECKER] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-19 Thread Grover, Andrew
Well the ACPI bugs look legitimate. We'll work on getting those fixed. Thanks for your efforts! Regards -- Andy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [CHECKER] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-17 Thread Greg KH
On Sat, Mar 17, 2001 at 01:30:54AM -0800, Junfeng Yang wrote: > - > [BUG] dereference to invalid pointer "bluetooth" in error message > /u2/acc/oses/linux/2.4.1/drivers/usb/bluetooth.c:924:bluetooth_read_bulk_callback: >ERROR:NULL:828:924:

Re: [CHECKER] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-17 Thread Andy Chou
> > [BUG] fore200e_kmalloc can return NULL > > /u2/acc/oses/linux/2.4.1/drivers/atm/fore200e.c:2032:fore200e_get_esi: >ERROR:NULL:2020:2032: Using unknown ptr "prom" illegally! set by >'fore200e_kmalloc':2020 > > I don't see the bug - there is an explicit "if(!prom) return -ENOMEM;" after >

Re: [CHECKER] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-17 Thread Mitchell Blank Jr
Junfeng Yang wrote: > [BUG] fore200e_kmalloc can return NULL > /u2/acc/oses/linux/2.4.1/drivers/atm/fore200e.c:2032:fore200e_get_esi: >ERROR:NULL:2020:2032: Using unknown ptr "prom" illegally! set by >'fore200e_kmalloc':2020 I don't see the bug - there is an explicit "if(!prom) return

Re: [CHECKER] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-17 Thread Mitchell Blank Jr
Junfeng Yang wrote: [BUG] fore200e_kmalloc can return NULL /u2/acc/oses/linux/2.4.1/drivers/atm/fore200e.c:2032:fore200e_get_esi: ERROR:NULL:2020:2032: Using unknown ptr "prom" illegally! set by 'fore200e_kmalloc':2020 I don't see the bug - there is an explicit "if(!prom) return -ENOMEM;"

Re: [CHECKER] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-17 Thread Andy Chou
[BUG] fore200e_kmalloc can return NULL /u2/acc/oses/linux/2.4.1/drivers/atm/fore200e.c:2032:fore200e_get_esi: ERROR:NULL:2020:2032: Using unknown ptr "prom" illegally! set by 'fore200e_kmalloc':2020 I don't see the bug - there is an explicit "if(!prom) return -ENOMEM;" after the

Re: [CHECKER] 120 potential dereference to invalid pointers errors for linux 2.4.1

2001-03-17 Thread Greg KH
On Sat, Mar 17, 2001 at 01:30:54AM -0800, Junfeng Yang wrote: - [BUG] dereference to invalid pointer "bluetooth" in error message /u2/acc/oses/linux/2.4.1/drivers/usb/bluetooth.c:924:bluetooth_read_bulk_callback: ERROR:NULL:828:924: