mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
GCC 15.2 with Alpine Linux 3.24 fails with -Werror=nonnull, complaining that we're calling bzero(NULL, 128). This is a legitimate diagnostic. xenalyze has it's own error() function shadowing the standard library one, and can in principle return when p is NULL. Extend the check in error() with ERR_MAX_TOLERABLE to short circuit the variable tolerance check. Suggested-by: Anthony PERARD <anthony.perard@vates.tech> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>