BUG/MINOR: buffer: fix buffer_dump() formatting
authorWilliam Lallemand <wlallemand@haproxy.org>
Mon, 9 Aug 2021 17:37:16 +0000 (19:37 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 11 Aug 2021 22:51:45 +0000 (00:51 +0200)
commit7e7765a4515bc23d536e2840c5bbdf18ffca6d45
tree95b22e2a176658fe9de4c89270405efc1124e0b5
parent3eb42f91d9df4b2d449e0d48d44f0be4f026d8be
BUG/MINOR: buffer: fix buffer_dump() formatting

The formatting of the buffer_dump() output must be calculated using the
relative counter, not the absolute one, or everything will be broken if
the <from> variable is not a multiple of 16.

Could be backported in all maintained versions.
src/dynbuf.c