Messages in this thread | ![/](/images/icornerl.gif) | | Date | Thu, 22 Apr 2010 09:24:20 -0700 | From | Greg KH <> | Subject | Re: [patch] usb: testing the wrong variable in fs_create_by_name() |
| |
On Thu, Apr 22, 2010 at 12:00:52PM +0200, Dan Carpenter wrote: > There is a typo here. We should be testing "*dentry" which was just > assigned instead of "dentry". This could result in dereferencing an > ERR_PTR inside either usbfs_mkdir() or usbfs_create(). > > Signed-off-by: Dan Carpenter <error27@gmail.com>
Nice catch, thanks. I'll go queue this up.
greg k-h
| ![\](/images/icornerr.gif) |