Skip to content

Commit

Permalink
fix(client): Fixed log message crashing application
Browse files Browse the repository at this point in the history
Wrong data were passed to logger, which resulted in segmentation fault.
  • Loading branch information
MichalTyndel authored and jpfr committed Dec 11, 2024
1 parent 25584c3 commit ed46888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/ua_client_connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -1618,7 +1618,7 @@ verifyClientApplicationURI(const UA_Client *client) {
UA_LOG_WARNING(client->config.logging, UA_LOGCATEGORY_CLIENT,
"The configured ApplicationURI does not match the URI "
"specified in the certificate for the SecurityPolicy %S",
sp->policyUri.length);
sp->policyUri);
}
}
#endif
Expand Down

0 comments on commit ed46888

Please sign in to comment.