]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: chunk: remove impossible tests on negative chunk->data
authorWilly Tarreau <w@1wt.eu>
Wed, 22 Aug 2018 02:59:48 +0000 (04:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 22 Aug 2018 03:28:32 +0000 (05:28 +0200)
commitbba81563cf5e5fcf31920a57772d3aef9e983118
tree84fdd2765990b612bbe1e75b0c87e17e5ef58ce1
parent1c913e4232c82777bb1bcb2266f34670d5174342
MINOR: chunk: remove impossible tests on negative chunk->data

Since commit 843b7cb ("MEDIUM: chunks: make the chunk struct's fields
match the buffer struct") a chunk length is unsigned so we can remove
negative size checks.
include/common/chunk.h
src/chunk.c