]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: shctx: forbid shctx to read more than expected
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 31 Oct 2017 19:21:46 +0000 (20:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 20:17:19 +0000 (21:17 +0100)
commit7217c46dfefccf581583f6f38ba8032a0dfad643
tree86003d4a74ea1a90aba35be7bb55a4c3be6c0aeb
parent3f133570b862009c6100b6cc740519b8cfb2c420
MEDIUM: shctx: forbid shctx to read more than expected

Forbid shctx to read more than expected, it allows you to use a greater
value as a len with shctx_row_data_get(), the size of the destination
buffer for example.
src/shctx.c