Skip to content
  • Rick Macklem's avatar
    nfsd: Sanity check the len argument for ListXattr · 5b430a13
    Rick Macklem authored
    The check for the original len being >= retlen needs to
    be done before the "if (nd->nd_repstat == 0)" code, so
    that it can be reported as too small.
    
    Reported by:	rtm@lcs.mit.edu
    Tested by:	rtm@lcs.mit.edu
    PR:	260046
    MFC after:	2 weeks
    5b430a13