commit | b57af617c06347af2284ac7949a7ddd7e52b4e41 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jan 23 20:43:53 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jan 23 20:43:53 2019 +0100 |
tree | f4f454a715f3b8f1fe8ba6982562464c287c030e | |
parent | afe57846bfb2edfb0db53f942b9500d090377c54 [diff] |
BUG/MINOR: mux-h1: avoid copying output over itself in zero-copy It's almost funny but one side effect of the latest zero-copy changes made to mux-h1 resulted in the temporary buffer being copied over itself at the exact same location. This has no impact except slowing down operations and irritating valgrind. The cause is an incorrect pointer check after the alignment optimizations were made. This needs to be backported to 1.9. Reported-by: Tim Duesterhus <tim@bastelstu.be>