Skip to content
Snippets Groups Projects
Commit db3ecd66 authored by Francesco Giacomini's avatar Francesco Giacomini
Browse files

Merge branch 'issue-20' into 'master'

avoid dangling pointer (to a destroyed temporary)

Closes #20

See merge request storm2/ngx_http_voms_module!11
parents c05b3d9e bd0e6881
No related branches found
No related tags found
1 merge request!11avoid dangling pointer (to a destroyed temporary)
Pipeline #18822 passed
...@@ -255,8 +255,8 @@ static MaybeVomsAc retrieve_voms_ac_from_proxy(ngx_http_request_t* r) ...@@ -255,8 +255,8 @@ static MaybeVomsAc retrieve_voms_ac_from_proxy(ngx_http_request_t* r)
auto ok = vd.Retrieve(client_cert.get(), client_chain, RECURSE_CHAIN); auto ok = vd.Retrieve(client_cert.get(), client_chain, RECURSE_CHAIN);
if (!ok) { if (!ok) {
auto msg = vd.ErrorMessage().c_str(); auto msg = vd.ErrorMessage();
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "%s", msg); ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "%s", msg.c_str());
return boost::none; return boost::none;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment