]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ring: fix the size check in ring_make_from_area()
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 27 Sep 2022 12:31:37 +0000 (14:31 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 27 Sep 2022 12:31:37 +0000 (14:31 +0200)
commit3a374eaeebb6aab0302653d048d08707c1ecd17c
treed6d4543d95686a758a59f14f6010697c3eb1ec3b
parentbb650f2be81f1415debfa26e837d6b6bdff0fd2e
BUG/MINOR: ring: fix the size check in ring_make_from_area()

Fix the size check in ring_make_from_area() which is checking the size
of the pointer instead of the size of the structure.

No backport needed, 2.7 only.
src/ring.c