commit | 48fa033f2809af265c230a7c7cf86413b7f9909b | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Oct 14 11:29:48 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Oct 14 16:45:09 2019 +0200 |
tree | 7cd570f59cbb6636f2ddf973c267ad51eb4fc5a2 | |
parent | e0f8dc576f62ace9ad1055ca068ab5d4f3a952aa [diff] |
BUG/MINOR: chunk: Fix tests on the chunk size in functions copying data When raw data are copied or appended in a chunk, the result must not exceed the chunk size but it can reach it. Unlike functions to copy or append a string, there is no terminating null byte. This patch must be backported as far as 1.8. Note in 1.8, the functions chunk_cpy() and chunk_cat() don't exist.