K3.18-lts : ext4/namei.c: hash used un-initialized

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

LINK: http://lxr.free-electrons.com/source/fs/ext4/namei.c?v=3.18#L664

static struct dx_frame *
664 dx_probe(const struct qstr *d_name, struct inode *dir,
665          struct dx_hash_info *hinfo, struct dx_frame *frame_in)
666 {
...
...
690         if (d_name)
691                 ext4fs_dirhash(d_name->name, d_name->len, hinfo);
692         hash = hinfo->hash;

Wont 'hash' abve be un-initialized if 'd_name' is NULL OR is 'd_name'
guaranteed to be not NULL
in this call.

Thanks,
Pavi
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux