[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [qemu-xen staging] configure: fix malloc check
commit d1abf3fc6abc01fd5f8985af92726f87b5efd80a Author: Olaf Hering <olaf@xxxxxxxxx> AuthorDate: Tue Jul 7 19:13:25 2020 +0200 Commit: Thomas Huth <thuth@xxxxxxxxxx> CommitDate: Mon Jul 13 11:40:52 2020 +0200 configure: fix malloc check Avoid random return value. Fixes commit f2dfe54c74f768a5bf78c9e5918918727f9d9459 Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> Message-Id: <20200707171326.16422-1-olaf@xxxxxxxxx> Reviewed-by: Richard Henderson <richard.henderson@xxxxxxxxxx> Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx> --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 814ed81279..f59418f6de 100755 --- a/configure +++ b/configure @@ -6343,6 +6343,7 @@ int main(void) { if (tmp != NULL) { return *(int *)(tmp + 2); } + return 1; } EOF if compile_prog "$CPU_CFLAGS -Werror -fsanitize=undefined" ""; then -- generated by git-patchbot for /home/xen/git/qemu-xen.git#staging
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |