[PATCH 7/8] Remove unneeded checks on type lengths.

Yao Qi qiyaoltc@gmail.com
Mon Jun 13 10:47:00 GMT 2016


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 (齐尧)



More information about the Binutils mailing list