From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 27 Aug 2018 10:13:26 -0400 Subject: [U-Boot] [PATCH v2 11/13] hashtable: Fix zero-sized array In-Reply-To: <20180826231332.2491-12-erosca@de.adit-jv.com> References: <20180826231332.2491-1-erosca@de.adit-jv.com> <20180826231332.2491-12-erosca@de.adit-jv.com> Message-ID: <20180827141326.GQ26633@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Aug 27, 2018 at 01:13:29AM +0200, Eugeniu Rosca wrote: > Enabling CONFIG_UBSAN=y, below runtime warning occurs both in sandbox > and R-Car H3 Salvator-X U-Boot: > > ===================================================================== > UBSAN: Undefined behaviour in lib/hashtable.c:784:8 > variable length array bound value 0 <= 0 > ===================================================================== > > It has a slightly different wording when compiling sandbox U-Boot > with "gcc-8 -fsanitize=undefined -lubsan": > Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: