lkml.org 
[lkml]   [2008]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] vfs: initialize d_iname to null for long file names
On Wed, Nov 26, 2008 at 09:41:05PM +0800, Wu Fengguang wrote:
> dentry->d_iname is currently uninitialized for long file names. Init
> it to null string to avoid bad behaviors on careless references to it.

I don't really see the point. If your code references it's already
buggy. The only proper way to acces it is through dentry->d_name.



\
 
 \ /
  Last update: 2008-11-26 17:47    [W:0.045 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site