commit | 6a0d2176281bc59e8d81442a056495eb11c5a051 | [log] [tgz] |
---|---|---|
author | Thayne McCombs <astrothayne@gmail.com> | Wed May 25 22:58:51 2022 -0600 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 27 19:33:34 2022 +0200 |
tree | 60f9bc1a50f9eba81bbea23a1d0b190b926ae75e | |
parent | d8c195a326ca4154a18c11ba0ef90f5e00579ed0 [diff] |
BUG/MEDIUM: sample: Fix adjusting size in word converter Adjust the size of the sample buffer before we change the "area" pointer. Otherwise, we end up not changing the size, because the area pointer is already the same as "start" before we compute the difference between the two. This is similar to the change in b28430591d18f7fda5bac2e0ea590b3a34f04601 but for the word converter instead of field.