Re: Fwd: [Bug 214867] New: UBSAN: shift-out-of-bounds in drivers/of/unittest.c:1933:36

From: Yin Xiujiang
Date: Tue Dec 21 2021 - 06:48:26 EST


I think if you use unsigned, then 'id -= overlay_first_id' will not be
less than 0 but will be a very large value and will be harder to judge.