verify: Fix the bad pattern block offset value
authorIgor Pylypiv <ipylypiv@google.com>
Thu, 28 Sep 2023 23:37:14 +0000 (16:37 -0700)
committerIgor Pylypiv <ipylypiv@google.com>
Thu, 28 Sep 2023 23:42:38 +0000 (16:42 -0700)
commit242c63dbbf104d2b0dd03fb2966ebd8ff9a6e2a3
tree5946825f2000cb7abd95a3965ff0e2d5e95efc97
parent996ac91f54844e63ef43092472fc1f7610567b67
verify: Fix the bad pattern block offset value

We offset buf by header_size for pattern verification. Add header_size
to the mismatched buf offset to get the correct block offset value.

Signed-off-by: Igor Pylypiv <ipylypiv@google.com>
verify.c