On Wed, Oct 3, 2012 at 8:42 AM, Jeff Layton <jlayton@xxxxxxxxxx> wrote: [snip] > + /* if there's a problem, then skip this entry */ > + if (len < 0 || (size_t)len >= sizeof(blob)) { > + xlog(L_WARNING, "%s: unable to build filename for %s!", > + __func__, entry->d_name); > + continue; > + } Is a len == 0 not a problem? -- Peace and Blessings, -Scott. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html