mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* tmp_dentry dereference ?
@ 2004-02-19 14:40 Joilnen Leite
  0 siblings, 0 replies; only message in thread
From: Joilnen Leite @ 2004-02-19 14:40 UTC (permalink / raw)
  To: linux-kernel

here i think that d_alloc can return NULL, so
tmp_dentry not use without checked.


fs/cifs/file.c:1251

} else {
      tmp_dentry = d_alloc(file->f_dentry, qstring);
      *ptmp_inode = new_inode(file->f_dentry->d_sb);
      tmp_dentry->d_op = &cifs_dentry_ops;
      cFYI(0, (" instantiate dentry 0x%p with inode
0x%p ",
                tmp_dentry, *ptmp_inode));
      d_instantiate(tmp_dentry, *ptmp_inode);
      d_rehash(tmp_dentry);
}

pub 1024D/5139533E Joilnen Batista Leite 
F565 BD0B 1A39 390D 827E 03E5 0CD4 0F20 5139 533E


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-19 14:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-19 14:40 tmp_dentry dereference ? Joilnen Leite

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®