Re: [PATCH][RESEND][ISDN] Guard against a potential NULL pointer dereference in old_capi_manufacturer()

2007-08-06 Thread Karsten Keil
On Sat, Aug 04, 2007 at 08:31:54PM +0200, Jesper Juhl wrote: > (first send: Monday 25 June 2007, resending due to no response) > (resending again on August 8'th, 2007) > > > In drivers/isdn/capi/kcapi.c::old_capi_manufacturer(), if the call > to get_capi_ctr_by_nr(ldef.contr); in line 823 return

[PATCH][RESEND][ISDN] Guard against a potential NULL pointer dereference in old_capi_manufacturer()

2007-08-04 Thread Jesper Juhl
(first send: Monday 25 June 2007, resending due to no response) (resending again on August 8'th, 2007) In drivers/isdn/capi/kcapi.c::old_capi_manufacturer(), if the call to get_capi_ctr_by_nr(ldef.contr); in line 823 returns NULL, then we'll be dereferencing a NULL pointer in the very next line