2023-03-03 07:19:06 +01:00
|
|
|
--- org/network/network_if_linux.c 2022-12-09 09:44:34.000000000 +0100
|
|
|
|
+++ patch/network/network_if_linux.c 2023-03-02 16:05:07.625074915 +0100
|
|
|
|
@@ -246,7 +246,7 @@
|
|
|
|
goto err;
|
|
|
|
}
|
2022-04-12 15:54:01 +02:00
|
|
|
|
2023-03-03 07:19:06 +01:00
|
|
|
- if (ip_addr->addr) {
|
|
|
|
+ if (ip_addr->length > 0) {
|
|
|
|
ip_ascii = fdo_alloc(IP_TAG_LEN);
|
|
|
|
if (!ip_ascii) {
|
|
|
|
goto err;
|
|
|
|
@@ -331,7 +331,7 @@
|
2022-04-12 15:54:01 +02:00
|
|
|
}
|
2023-03-03 07:19:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
- if (ip_addr->addr) {
|
|
|
|
+ if (ip_addr->length > 0) {
|
|
|
|
ip_ascii = fdo_alloc(IP_TAG_LEN);
|
|
|
|
if (!ip_ascii) {
|
|
|
|
goto err;
|
|
|
|
--- org/lib/credentials_from_file.c 2022-12-09 09:44:34.000000000 +0100
|
|
|
|
+++ patch/lib/credentials_from_file.c 2023-03-02 16:34:46.597314561 +0100
|
|
|
|
@@ -231,7 +231,6 @@
|
2022-04-12 15:54:01 +02:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
- LOG(LOG_DEBUG, "Reading DeviceCredential blob of length %"PRIu64"\n", dev_cred_len);
|
2023-03-03 07:19:06 +01:00
|
|
|
|
2022-04-12 15:54:01 +02:00
|
|
|
fdor = fdo_alloc(sizeof(fdor_t));
|
|
|
|
if (!fdor || !fdor_init(fdor) || !fdo_block_alloc_with_size(&fdor->b, dev_cred_len)) {
|
2023-03-03 07:19:06 +01:00
|
|
|
@@ -531,4 +530,4 @@
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
-}
|
|
|
|
\ Kein Zeilenumbruch am Dateiende.
|
|
|
|
+}
|