[Pkg-xen-devel] Bug#1042102: xen FTBFS with gcc 13
Adrian Bunk
bunk at debian.org
Wed Jul 26 19:26:18 BST 2023
Source: xen
Version: 4.17.1+2-gb773c48e36-1
Severity: serious
Tags: ftbfs trixie sid
Forwarded: https://github.com/xen-project/xen/commit/99a9c3d7141063ae3f357892c6181cfa3be8a280
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/xen.html
...
xg_offline_page.c: In function 'backup_ptes':
xg_offline_page.c:191:13: error: pointer 'orig' may be used after 'realloc' [-Werror=use-after-free]
191 | free(orig);
| ^~~~~~~~~~
xg_offline_page.c:186:27: note: call to 'realloc' here
186 | backup->entries = realloc(
| ^~~~~~~~
187 | orig, backup->max * 2 * sizeof(struct pte_backup_entry));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[8]: *** [/build/1st/xen-4.17.1+2-gb773c48e36/tools/libs/guest/../../../tools/Rules.mk:190: xg_offline_page.o] Error 1
More information about the Pkg-xen-devel
mailing list