Re: [CHECKER] 15 potential pointer dereference errors in 2.4.3

2001-04-05 Thread Jeff Garzik
Andy Chou wrote: > [BUG] > /u2/acc/oses/linux/2.4.3/drivers/net/tokenring/tmsisa.c:274:tms_isa_probe: >ERROR:NULL:273:274: Using > unknown ptr "card" illegally! set by 'kmalloc':273 fixed > [BUG] > /u2/acc/oses/linux/2.4.3/drivers/pcmcia/rsrc_mgr.c:199:do_io_probe: >ERROR:NULL:191:199: Using

Re: [CHECKER] 15 potential pointer dereference errors in 2.4.3

2001-04-05 Thread Andy Chou
Here's one more potential bug for 2.4.3. -Andy [BUG] /u2/acc/oses/linux/2.4.3/drivers/isdn/hysdn/hysdn_net.c:309:hysdn_net_create: ERROR:NULL:302:309: Using NULL ptr "dev" illegally! set by 'kmalloc_Rsmp_93d4cfe6':302 Start ---> if ((dev = kmalloc(sizeof(struct net_local), GFP_KERNEL))

Re: [CHECKER] 15 potential pointer dereference errors in 2.4.3

2001-04-05 Thread Andy Chou
I forgot to mention that these 15 potential errors are only the *new* ones. Many of the previously reported dereference errors from 2.4.1 are still there. -Andy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

[CHECKER] 15 potential pointer dereference errors in 2.4.3

2001-04-05 Thread Andy Chou
I ran the null pointer dereference checker over 2.4.3 and it found the following 15 potential errors. As usual, the context given with each report may be misleading so you'll probably need to inspect the source. The checker tries to help by printing the function it thinks is returning NULL. Als