Re: [2.6 patch] fs/smbfs/request.c: fix NULL dereference

2005-03-26 Thread Jean Delvare
Hi all, > The Coverity checker found that if req was NULL because find_request > returned NULL, this resulted in a break from the switch, but req was > later dereferenced (look at the last line of this patch). > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > > --- linux-2.6.12-rc1-mm2-full

[2.6 patch] fs/smbfs/request.c: fix NULL dereference

2005-03-24 Thread Adrian Bunk
The Coverity checker found that if req was NULL because find_request returned NULL, this resulted in a break from the switch, but req was later dereferenced (look at the last line of this patch). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.6.12-rc1-mm2-full/fs/smbfs/request.c.old