[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/9] configure: fix malloc check
From: |
Thomas Huth |
Subject: |
[PULL 1/9] configure: fix malloc check |
Date: |
Mon, 13 Jul 2020 12:55:26 +0200 |
From: Olaf Hering <olaf@aepfle.de>
Avoid random return value.
Fixes commit f2dfe54c74f768a5bf78c9e5918918727f9d9459
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Message-Id: <20200707171326.16422-1-olaf@aepfle.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
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
--
2.18.1
- [PULL 0/9] Fuzzer, configure, gitlab and misc patches, Thomas Huth, 2020/07/13
- [PULL 1/9] configure: fix malloc check,
Thomas Huth <=
- [PULL 2/9] configure: do not clobber CFLAGS with --enable-fuzzing, Thomas Huth, 2020/07/13
- [PULL 3/9] fuzz: add missing header for rcu_enable_atfork, Thomas Huth, 2020/07/13
- [PULL 5/9] docs/devel/fuzzing: Fix bugs in documentation, Thomas Huth, 2020/07/13
- [PULL 6/9] Remove the CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE switch, Thomas Huth, 2020/07/13
- [PULL 4/9] tests/qtest/fuzz: Add missing spaces in description, Thomas Huth, 2020/07/13
- [PULL 7/9] disas/sh4: Add missing fallthrough annotations, Thomas Huth, 2020/07/13
- [PULL 8/9] GitLab Gating CI: introduce pipeline-status contrib script, Thomas Huth, 2020/07/13
- [PULL 9/9] docs/system/s390x: Improve the 3270 documentation, Thomas Huth, 2020/07/13
- Re: [PULL 0/9] Fuzzer, configure, gitlab and misc patches, no-reply, 2020/07/13
- Re: [PULL 0/9] Fuzzer, configure, gitlab and misc patches, Peter Maydell, 2020/07/13