On Sat, Jun 11, 2016 at 9:48 PM, John Baldwin <jhb@freebsd.org> wrote: > Type lengths are unsigned, so are always greater than zero. A check The type length can be zero. > against the length of 'tgt_type' is retained to prevent dividing by zero. Your patch is good to me. -- Yao (齐尧)