]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: unix: remove the 'level' field from the ux struct
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Jan 2013 14:17:20 +0000 (15:17 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Jan 2013 15:19:19 +0000 (16:19 +0100)
commit8dc21faaf7906176341124e5e5852054fa2b712f
tree6b9ea188363657a95f6f2d215a65772a80113fda
parent0b291bdef1b9b6b539f44aa896eb1211c57a67a5
BUG/MINOR: unix: remove the 'level' field from the ux struct

Commit 290e63aa moved the unix parameters out of the global stats socket
to the bind_conf struct. As such the stats admin level was also moved
overthere, but it remained in the stats global section where it was not
used, except by a nasty memcpy() used to initialize the ux struct in the
bind_conf with too large data. Fortunately, the extra data copied were
the previous level over the new level so it did not have any impact, but
it could have been worse.

This bug is 1.5 specific, no backport is needed.

Reported-by: Dinko Korunic <dkorunic@reflected.net>
include/types/global.h
src/cfgparse.c