[U-Boot] [PATCH v2 11/13] hashtable: Fix zero-sized array
Tom Rini
trini at konsulko.com
Mon Aug 27 14:13:26 UTC 2018
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 <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180827/5f869285/attachment.sig>
More information about the U-Boot
mailing list