commit | 5f6333cacaec613bf373d8747035c4fde0405270 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Aug 22 05:14:37 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Aug 22 05:16:31 2018 +0200 |
tree | fd9070daf5d64605e6e4478b182391109cd3d518 | |
parent | 49725a0977d229d062f02705cfeafbb3ccd93954 [diff] |
BUG/MINOR: chunks: do not store -1 into chunk_printf() in case of error Since commit 843b7cb ("MEDIUM: chunks: make the chunk struct's fields match the buffer struct") a chunk length is unsigned so we can't reliably store -1 and check for negative values in the caller. Only one such location was found in proto_http's http-request auth rules (which cannot realistically fail). No backport is needed.