Skip to content

test: fix out-of-bound reads from invalid sizeof usage

sizeof(data) does not return the correct result here, as it measures the size of the data variable, not what it points to.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading