]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: deviceatlas: fix cookie vlen using wrong length after extraction
authorDavid Carlier <dcarlier@deviceatlas.com>
Sat, 14 Feb 2026 13:23:59 +0000 (13:23 +0000)
committerWilly Tarreau <w@1wt.eu>
Sat, 14 Feb 2026 13:47:22 +0000 (14:47 +0100)
commit734a139c522be5c3a160097bece21750095ad218
treedd7f76f0bddb078a4f2b8b2321271151a60bfbb1
parent7098b4f93a4ffcd170d94adcd32e3a082538db17
BUG/MINOR: deviceatlas: fix cookie vlen using wrong length after extraction

In da_haproxy_fetch(), vlen was set from v.len (the raw header value
length) instead of the truncated copy length. Also the cookie-specific
vlen calculation used an incorrect subtraction instead of the actual
extracted cookie value length (pl) returned by
http_extract_cookie_value().

This should be backported to lower branches.
addons/deviceatlas/da.c