BUG/MINOR: listener: null pointer dereference suspected by coverity

Please refer to GH #1859 for more info.
Coverity suspected improper proxy pointer handling.
Without the fix it is considered safe for the moment, but it might not
be the case in the future as we want to keep the ability to have
isolated listeners.

Making sure stop_listener(), pause_listener(), resume_listener()
and listener_release() functions make proper use
of px pointer in that context.

No need for backport except if multi-connection protocols (ie:FTP)
were to be backported as well.

(cherry picked from commit a57786e87d0746baec43ea888bf6cd30c490d2fb)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit e96752b16d994bafa4438bdc42f250323769748f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit e7db9b0b8b0cb481147857ed7eebef622d0d3d71)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed