Accepting request 1232036 from security
- gcc.patch: avoid implicits when using more strict GCC14 OBS-URL: https://build.opensuse.org/request/show/1232036 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdo-client?expand=0&rev=6
This commit is contained in:
commit
e86b7218e8
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 18 14:10:40 UTC 2024 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
- gcc.patch: avoid implicits when using more strict GCC14
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 13 13:38:19 UTC 2024 - Otto Hollmann <otto.hollmann@suse.com>
|
Tue Feb 13 13:38:19 UTC 2024 - Otto Hollmann <otto.hollmann@suse.com>
|
||||||
|
|
||||||
|
34
gcc.patch
34
gcc.patch
@ -1,6 +1,8 @@
|
|||||||
--- org/network/network_if_linux.c 2022-12-09 09:44:34.000000000 +0100
|
Index: fdo-client-1.1.4+git20221209.c8ef757/network/network_if_linux.c
|
||||||
+++ patch/network/network_if_linux.c 2023-03-02 16:05:07.625074915 +0100
|
===================================================================
|
||||||
@@ -246,7 +246,7 @@
|
--- fdo-client-1.1.4+git20221209.c8ef757.orig/network/network_if_linux.c
|
||||||
|
+++ fdo-client-1.1.4+git20221209.c8ef757/network/network_if_linux.c
|
||||||
|
@@ -246,7 +246,7 @@ bool fdo_curl_proxy(fdo_ip_address_t *ip
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -9,7 +11,7 @@
|
|||||||
ip_ascii = fdo_alloc(IP_TAG_LEN);
|
ip_ascii = fdo_alloc(IP_TAG_LEN);
|
||||||
if (!ip_ascii) {
|
if (!ip_ascii) {
|
||||||
goto err;
|
goto err;
|
||||||
@@ -331,7 +331,7 @@
|
@@ -331,7 +331,7 @@ int fdo_curl_setup(fdo_ip_address_t *ip_
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -18,9 +20,11 @@
|
|||||||
ip_ascii = fdo_alloc(IP_TAG_LEN);
|
ip_ascii = fdo_alloc(IP_TAG_LEN);
|
||||||
if (!ip_ascii) {
|
if (!ip_ascii) {
|
||||||
goto err;
|
goto err;
|
||||||
--- org/lib/credentials_from_file.c 2022-12-09 09:44:34.000000000 +0100
|
Index: fdo-client-1.1.4+git20221209.c8ef757/lib/credentials_from_file.c
|
||||||
+++ patch/lib/credentials_from_file.c 2023-03-02 16:34:46.597314561 +0100
|
===================================================================
|
||||||
@@ -231,7 +231,6 @@
|
--- fdo-client-1.1.4+git20221209.c8ef757.orig/lib/credentials_from_file.c
|
||||||
|
+++ fdo-client-1.1.4+git20221209.c8ef757/lib/credentials_from_file.c
|
||||||
|
@@ -231,7 +231,6 @@ bool read_normal_device_credentials(cons
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -28,10 +32,22 @@
|
|||||||
|
|
||||||
fdor = fdo_alloc(sizeof(fdor_t));
|
fdor = fdo_alloc(sizeof(fdor_t));
|
||||||
if (!fdor || !fdor_init(fdor) || !fdo_block_alloc_with_size(&fdor->b, dev_cred_len)) {
|
if (!fdor || !fdor_init(fdor) || !fdo_block_alloc_with_size(&fdor->b, dev_cred_len)) {
|
||||||
@@ -531,4 +530,4 @@
|
@@ -531,4 +530,4 @@ static bool validate_state(fdo_sdk_devic
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
-}
|
-}
|
||||||
\ Kein Zeilenumbruch am Dateiende.
|
\ No newline at end of file
|
||||||
+}
|
+}
|
||||||
|
Index: fdo-client-1.1.4+git20221209.c8ef757/safestringlib-1.0.0+git20171208.5da1bad/makefile
|
||||||
|
===================================================================
|
||||||
|
--- fdo-client-1.1.4+git20221209.c8ef757.orig/safestringlib-1.0.0+git20171208.5da1bad/makefile
|
||||||
|
+++ fdo-client-1.1.4+git20221209.c8ef757/safestringlib-1.0.0+git20171208.5da1bad/makefile
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
IDIR = include
|
||||||
|
CC=gcc
|
||||||
|
-CFLAGS=-I$(IDIR) -fstack-protector-strong -fPIE -fPIC -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
|
||||||
|
+CFLAGS=-I$(IDIR) -fstack-protector-strong -fPIE -fPIC -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -DHAVE_STDLIB_H -DSTDC_HEADERS
|
||||||
|
LDFLAGS=-z noexecstack -z relo -z now
|
||||||
|
|
||||||
|
ODIR=obj
|
||||||
|
Loading…
x
Reference in New Issue
Block a user