]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: backend: Fix a possible null pointer dereference
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Sep 2019 08:01:36 +0000 (10:01 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Sep 2019 08:08:44 +0000 (10:08 +0200)
commit1dbc4676c657072dfbf89a0b7ce9699367f28b33
treebecd87bfab91055b859fa3e33faab0865f2b23df
parent361935aa1e327d2249453eab0b8f0300683f47b2
BUG/MINOR: backend: Fix a possible null pointer dereference

In the function connect_server(), when we are not able to reuse a connection and
too many FDs are opened, the variable srv must be defined to kill an idle
connection.

This patch fixes the issue #257. It must be backported to 2.0
src/backend.c