]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: listener: add an error check for unallocatable trash
authorWilly Tarreau <w@1wt.eu>
Sat, 16 Oct 2021 12:54:19 +0000 (14:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 16 Oct 2021 12:54:19 +0000 (14:54 +0200)
commit7c4c830d04d53ed31e10a4f849b8ff96034e7690
treeb0328b18c2316a503410e7550402c18bb7d83aea
parenta146289d4f3b9940f20ae1640b26fa939761224b
BUG/MINOR: listener: add an error check for unallocatable trash

Coverity noticed in issue #1416 that a missing allocation error was
introduced in tcp_bind_listener() with the rework of error messages by
commit ed1748553 ("MINOR: proto_tcp: use chunk_appendf() to ouput socket
setup errors"). In practice nobody will ever face it but better address
it anyway.

No backport is needed.
src/proto_tcp.c