[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20211221114817.682347-1-yinxiujiang@kylinos.cn>
Date: Tue, 21 Dec 2021 19:48:17 +0800
From: Yin Xiujiang <yinxiujiang@...inos.cn>
To: frowand.list@...il.com
Cc: devicetree@...r.kernel.org, erhard_f@...lbox.org,
linux-kernel@...r.kernel.org, robh+dt@...nel.org
Subject: Re: Fwd: [Bug 214867] New: UBSAN: shift-out-of-bounds in drivers/of/unittest.c:1933:36
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.
Powered by blists - more mailing lists