lkml.org 
[lkml]   [2010]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 22 Apr 2010 09:24:20 -0700
FromGreg KH <>
SubjectRe: [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


\
 
 \ /
  Last update: 2010-04-22 18:27    [from the cache]
©2003-2010