Mark Kettenis writes:
> Finally a case where clang isn't entirely helpful. Because vp->v_tag
> is an enum, clang thinks its value can't be bigger than 15 and that
> the vp->v_tag >= nitems(vtags) check is therefore always false. But I
> think we want to prevent an out-of-bounds access here if t
Finally a case where clang isn't entirely helpful. Because vp->v_tag
is an enum, clang thinks its value can't be bigger than 15 and that
the vp->v_tag >= nitems(vtags) check is therefore always false. But I
think we want to prevent an out-of-bounds access here if the vnode is
corrupted somehow.