Skip to content

Avoid crash when app omits config #2023

Avoid crash when app omits config

Avoid crash when app omits config #2023

Triggered via pull request September 26, 2023 16:22
Status Success
Total duration 15m 51s
Artifacts 14

cmake.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

70 warnings
Linux x86_64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux x86_64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux x86_64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux x86_64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux x86_64
passing argument 1 of 'c->own_key->free' from incompatible pointer type [-Wincompatible-pointer-types]
Linux x86_64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux x86_64: library/ziti_enroll.c#L109
assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux x86_64: library/ziti_ctrl.c#L490
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux x86_64: library/ziti_ctrl.c#L491
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux x86_64: library/ziti_ctrl.c#L652
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Windows ARM64
assignment within conditional expression [D:\a\ziti-sdk-c\ziti-sdk-c\build\_deps\tlsuv-build\tlsuv.vcxproj]
Windows ARM64
unreachable code [D:\a\ziti-sdk-c\ziti-sdk-c\build\_deps\tlsuv-build\tlsuv.vcxproj]
Windows ARM64: library/zitilib.c#L1203
potentially uninitialized local variable 'service_name' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64: library/zitilib.c#L1203
potentially uninitialized local pointer variable 'service_name' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64: library/connect.c#L845
unreachable code [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64: library/internal_model.c#L272
potentially uninitialized local variable 'bits' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64: library/model_support.c#L952
'_cmp_tag': not all control paths return a value [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64: library/model_support.c#L1062
potentially uninitialized local variable 'rc' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64: library/ziti_ctrl.c#L182
assignment within conditional expression [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64: library/ziti_enroll.c#L218
potentially uninitialized local variable 'tls' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Linux ARM64
openssl currently requires the following library from the system package
Linux ARM64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM64
passing argument 1 of 'c->own_key->free' from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM64: library/ziti_enroll.c#L109
assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux ARM64: library/ziti_ctrl.c#L490
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux ARM64: library/ziti_ctrl.c#L491
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux ARM
openssl currently requires the following library from the system package
Linux ARM
format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t ***aka unsigned int***' [-Wformat=]
Linux ARM
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM
passing argument 1 of 'c->own_key->free' from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM: library/utils.c#L401
passing argument 1 of 'gmtime' from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM: library/utils.c#L454
passing argument 1 of 'gmtime' from incompatible pointer type [-Wincompatible-pointer-types]
MacOS x86_64: library/utils.c#L401
incompatible pointer types passing 'int64_t *' (aka 'long long *') to parameter of type 'const time_t *' (aka 'const long *') [-Wincompatible-pointer-types]
MacOS x86_64: library/utils.c#L454
incompatible pointer types passing 'int64_t *' (aka 'long long *') to parameter of type 'const time_t *' (aka 'const long *') [-Wincompatible-pointer-types]
MacOS x86_64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS x86_64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS x86_64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS x86_64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS x86_64
incompatible pointer types passing 'struct priv_key_s *' to parameter of type 'struct tlsuv_private_key_s *' [-Wincompatible-pointer-types]
MacOS x86_64
incompatible pointer types initializing 'struct priv_key_s *' with an expression of type 'tlsuv_private_key_t' (aka 'struct tlsuv_private_key_s *') [-Wincompatible-pointer-types]
MacOS x86_64: library/ziti_enroll.c#L109
assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
MacOS x86_64: library/ziti_ctrl.c#L329
format specifies type 'long' but the argument has type 'unsigned long long' [-Wformat]
MacOS arm64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS arm64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS arm64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS arm64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS arm64
incompatible pointer types passing 'struct priv_key_s *' to parameter of type 'struct tlsuv_private_key_s *' [-Wincompatible-pointer-types]
MacOS arm64
incompatible pointer types initializing 'struct priv_key_s *' with an expression of type 'tlsuv_private_key_t' (aka 'struct tlsuv_private_key_s *') [-Wincompatible-pointer-types]
MacOS arm64: library/utils.c#L401
incompatible pointer types passing 'int64_t *' (aka 'long long *') to parameter of type 'const time_t *' (aka 'const long *') [-Wincompatible-pointer-types]
MacOS arm64: library/utils.c#L454
incompatible pointer types passing 'int64_t *' (aka 'long long *') to parameter of type 'const time_t *' (aka 'const long *') [-Wincompatible-pointer-types]
MacOS arm64: library/ziti_enroll.c#L109
assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
MacOS arm64: library/ziti_ctrl.c#L329
format specifies type 'long' but the argument has type 'unsigned long long' [-Wformat]
Windows x86_64
assignment within conditional expression [D:\a\ziti-sdk-c\ziti-sdk-c\build\_deps\tlsuv-build\tlsuv.vcxproj]
Windows x86_64
unreachable code [D:\a\ziti-sdk-c\ziti-sdk-c\build\_deps\tlsuv-build\tlsuv.vcxproj]
Windows x86_64: library/zitilib.c#L1203
potentially uninitialized local variable 'service_name' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows x86_64: library/zitilib.c#L1203
potentially uninitialized local pointer variable 'service_name' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows x86_64: library/connect.c#L845
unreachable code [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows x86_64: library/internal_model.c#L272
potentially uninitialized local variable 'bits' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows x86_64: library/model_support.c#L952
'_cmp_tag': not all control paths return a value [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows x86_64: library/model_support.c#L1062
potentially uninitialized local variable 'rc' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows x86_64: library/ziti_ctrl.c#L182
assignment within conditional expression [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows x86_64: library/ziti_enroll.c#L218
potentially uninitialized local variable 'tls' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]

Artifacts

Produced during runtime
Name Size
ziti-prox-c-linux-arm Expired
2.29 MB
ziti-prox-c-linux-arm64 Expired
2.33 MB
ziti-prox-c-linux-x64 Expired
2.82 MB
ziti-prox-c-macOS-arm64 Expired
1.78 MB
ziti-prox-c-macOS-x64 Expired
1.98 MB
ziti-prox-c-windows-arm64 Expired
1.64 MB
ziti-prox-c-windows-x64 Expired
2.12 MB
ziti-sdk-linux-arm Expired
3.23 MB
ziti-sdk-linux-arm64 Expired
3.34 MB
ziti-sdk-linux-x64 Expired
3.84 MB
ziti-sdk-macOS-arm64 Expired
2.48 MB
ziti-sdk-macOS-x64 Expired
2.67 MB
ziti-sdk-windows-arm64 Expired
2.58 MB
ziti-sdk-windows-x64 Expired
3.09 MB