diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2024-09-04 14:41:42 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2024-09-24 10:40:44 +0000 |
commit | 5d03b1d216558e4d2945b0fad290efb4ba3ac8b0 (patch) | |
tree | cee5c9c7ffb9a3ed4a01aba082a27fc246241bad /src/lib/ubsan.c | |
parent | 735ca7f24ad49d416ec7bd8f598e0cdbdf9ae0cc (diff) |
soc/intel/meminit: Check array size
Work around a GCC LTO bug. Even if no buffer overflow is bound to happen
as the soldered down path is taken GCC LTO complains about this.
Change-Id: Ib3d4ed8032bb06b6d08fbc2dc4b697df88745243
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84205
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/lib/ubsan.c')
0 files changed, 0 insertions, 0 deletions