]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: fcgi-app: fix memory leak in fcgi_flt_http_headers
authorHarris Kaufmann <st4ck0v3rfl0w@gmail.com>
Wed, 15 Jul 2020 14:26:13 +0000 (16:26 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 15 Jul 2020 18:23:29 +0000 (20:23 +0200)
commitb605a736b0766030746b50c322879d929fcebacf
tree4eb355efe978d0a9cadb513ef3daeb97aa32671f
parent45c457a62941a7c4a86ce4327d7755edcd4b230e
BUG/MEDIUM: fcgi-app: fix memory leak in fcgi_flt_http_headers

When the loop is continued early, the memory for param_rule is not freed. This
can leak memory per request, which will eventually consume all available memory
on the server.

This patch should fix the issue #750. It must be backported as far as 2.1.
src/fcgi-app.c