summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-06-04 20:55:53 +0200
committerJo-Philipp Wich <jo@mein.io>2022-06-04 20:55:53 +0200
commit44b0a3b3938333a4f2b00d159fab258a9acd31c1 (patch)
treea466ad089f3ff0bcbd143d5767c7b222881b4dd6 /tests
parentb211ca0e420d8086d3fa0358413a6f8b44df1115 (diff)
struct: fix packing `*` format after other repeated formats
When packing a format such as `!6C*`, the `*` format was not included into the result buffer due to improper tracking of the function argument offset. Solve this issue by taking field repetitions into account when tracking the argument offset while calculating the size of dynamic arguments. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions