commit | f1cb4ac745994cf62bb259d117c4b7cdaf8c8dd7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Mar 11 16:55:49 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 11 16:59:14 2022 +0100 |
tree | 896424d7d78331bd0404378bfdd8d37e9caf307e | |
parent | 76e8b70e43e7460a236d7228f8112be57f916a74 [diff] |
BUG/MINOR: buffer: fix debugging condition in b_peek_varint() The BUG_ON_HOT() test condition added to b_peek_varint() by commit 8873b85bd ("DEBUG: buf: add BUG_ON_HOT() to most buffer management functions") was wrong as <data> in this function is not b->data, so that was triggering during live dumps of H2 traces on the CLI when built with -DDEBUG_STRICT=2. No backport is needed.