pnoltes commented on code in PR #459: URL: https://github.com/apache/celix/pull/459#discussion_r1059447265
########## bundles/deployment_admin/src/deployment_admin.c: ########## @@ -199,8 +199,10 @@ static celix_status_t deploymentAdmin_performRequest(deployment_admin_pt admin, fw_log(celix_frameworkLogger_globalLogger(), CELIX_LOG_LEVEL_ERROR, "Error initializing curl."); } - char url[strlen(admin->auditlogUrl)+6]; - sprintf(url, "%s/send", admin->auditlogUrl); + size_t maxUrlLen = strlen(admin->auditlogUrl)+6; + char url[maxUrlLen]; Review Comment: replaced with asprintf usage -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org