Fix MSAN uninitialized-value error in fuzzer harness.
If we stop processing before filling out the entire Attribute
structure, MSAN will detect a read from Attribute::offset as a
use-of-uninitialized-value error. It is safe to continue calling
`extract` even when there is no data left (it just returns zero)
so we can fix this just by removing the early exit.
Bug: oss-fuzz:61130
Change-Id: If00696667e964746ed73110ba13702aa7a02b421
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/736079
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
1 file changed