]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: event_hdl: fix rid storage type
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 22 Feb 2023 08:26:41 +0000 (09:26 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 Apr 2023 06:58:17 +0000 (08:58 +0200)
commit53eb6aecce86cd954f74050f949785d593a0b0e4
treeeb7b3ac6b2c6a4fccd0082967f588073f193b408
parent21f7ebbfcd9709cc193d4c45f8012b518014b174
BUG/MINOR: event_hdl: fix rid storage type

rid is stored as a uint32_t within struct server, but it was stored as
a signed int within the server event data struct.

Switching from signed int to uint32_t in event_hdl_cb_data_server struct
to make sure it won't overflow.

If 129ecf441 ("MINOR: server/event_hdl: add support for SERVER_ADD and SERVER_DEL events")
is being backported, then this commit should be backported with it.
include/haproxy/server-t.h