Fixes CVE-2022-1552 and CVE-2022-2625. Change-Id: I4964c43fefc94f12a16c45d8727ae41cf1ce278b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140458 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
20 lines
490 B
Plaintext
20 lines
490 B
Plaintext
# error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
|
|
--- configure
|
|
+++ configure
|
|
@@ -16821,6 +16821,7 @@
|
|
else
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
+#include <stdlib.h>
|
|
typedef long int ac_int64;
|
|
|
|
/*
|
|
@@ -16905,6 +16905,7 @@
|
|
else
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
+#include <stdlib.h>
|
|
typedef long long int ac_int64;
|
|
|
|
/*
|