commit | bc584494e625983f16f35982aa6dd6889e8dd222 | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Thu Oct 25 20:18:59 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 26 04:54:40 2018 +0200 |
tree | 5a185f85ed470627093e1a5c8e525e4b89d09f4b | |
parent | b9b8b6b6beb84b6b942d24eda56bfbe3812cc294 [diff] |
BUG/MINOR: cache: Wrong usage of shctx_init(). With this patch we check that shctx_init() does not returns 0. This is possible if the maxblocks argument, which is passed as an int, is negative due to an implicit conversion. Must be backported to 1.8.