]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG: stktable: tcp_src_to_stktable_key() must return NULL on invalid families
authorWilly Tarreau <w@1wt.eu>
Thu, 30 Aug 2012 20:52:28 +0000 (22:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 31 Aug 2012 09:03:30 +0000 (11:03 +0200)
commitc3a08a136b9efd086a110f454f8261c0dd79cf6b
treef7693769a147295647db44af98515e8676f87f74
parent1dc00efedc667e9aa0e10bc4b4aea36b14b73b73
BUG: stktable: tcp_src_to_stktable_key() must return NULL on invalid families

Source addresses of non-TCP families were not correctly handled by
tcp_src_to_stktable_key() as it forgot to return NULL and instead left
the previous value in the stick-table buffer.

This bug is 1.5-specific and was introduced by commit 4f92d320 in 1.5-dev6
so it does not need any backport.
include/proto/proto_tcp.h