[lkml]   [2006]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectinclude/linux/nfsd/nfsfh.h: NULL dereference
    The Coverity checker spotted the following:

    <-- snip -->

    static __inline__ struct svc_fh *
    fh_copy(struct svc_fh *dst, struct svc_fh *src)
    if (src->fh_dentry || src->fh_locked) {
    struct dentry *dentry = src->fh_dentry;
    printk(KERN_ERR "fh_copy: copying %s/%s, already verified!\n",
    dentry->d_parent->, dentry->;

    *dst = *src;
    return dst;

    <-- snip -->

    src->fh_dentry is being dereferenced when we discover it's NULL...



    "Is there not promise of rain?" Ling Tan asked suddenly out
    of the darkness. There had been need of rain for many days.
    "Only a promise," Lao Er said.
    Pearl S. Buck - Dragon Seed

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-11-12 14:25    [W:0.032 / U:7.064 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site