https://bz.apache.org/bugzilla/show_bug.cgi?id=57553

--- Comment #2 from Tom Ritter <[email protected]> ---
Okay, I tracked it down and figured it out.  look_for_server_certs() is called
multiple times for multiple VHOSTs, but is not set up for that.  Specifically,
sconf->server_cert_info = apr_array_make(p, 2, sizeof(ct_server_cert_info));
overwrites the initial allocation.  (Leaking memory in the process.)

I don't know what the 'correct' fix for this, you'd probably allocate one slot
and then grow the array on subsequent calls, but I don't know how to do that. I
did a simple fix  by just putting a if(!sconf->server_cert_info) in front of it
and making it allocate 4 slots instead of 2.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to