Skip to content

fuzz: extract the mosaic configuration from the tail#3332

Merged
kleisauke merged 1 commit into
libvips:masterfrom
kleisauke:revise-mosaic-fuzzer
Feb 16, 2023
Merged

fuzz: extract the mosaic configuration from the tail#3332
kleisauke merged 1 commit into
libvips:masterfrom
kleisauke:revise-mosaic-fuzzer

Conversation

@kleisauke

Copy link
Copy Markdown
Member

Since it's a lot easier in terms of implementation and extracting the image that causes a fuzzer bug. For example:

# Last 9 bytes in mosaic_fuzzer is configuration
$ truncate -s -9 clusterfuzz-testcase-minimized-mosaic_fuzzer

Instead of:

# First 9 bytes in mosaic_fuzzer is configuration
$ dd bs=1 skip=9 if=clusterfuzz-testcase-minimized-mosaic_fuzzer of=mosaic_fuzzer-image

Since it's a lot easier in terms of implementation and extracting
the image that causes a fuzzer bug.
@kleisauke kleisauke merged commit 02213d4 into libvips:master Feb 16, 2023
@kleisauke kleisauke deleted the revise-mosaic-fuzzer branch February 16, 2023 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants