[PR #1006] fuzz: more complete fuzzing #1568

Open
opened 2026-01-29 20:54:44 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/1006
Author: @catenacyber
Created: 2/2/2023
Status: 🔄 Open

Base: masterHead: fuzz


📝 Commits (1)

  • dc96f48 fuzz: more complete fuzzing

📊 Changes

2 files changed (+129 additions, -13 deletions)

View changed files

📝 c/fuzz/decode_fuzzer.c (+29 -13)
c/fuzz/encode_fuzzer.c (+100 -0)

📄 Description

cc @eustas

This PR adds a fuzz target for encoding/compression

And it also completes the decode fuzzer by adding support for attaching a dictionary, and setting parameters (BROTLI_DECODER_PARAM_LARGE_WINDOW)
This modifies a bit the format that is used (using the first bytes to get the options). Is it ok ? Or should it be a new target ?

What do you think of it ?
PS : no bugs found after one night of running


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/google/brotli/pull/1006 **Author:** [@catenacyber](https://github.com/catenacyber) **Created:** 2/2/2023 **Status:** 🔄 Open **Base:** `master` ← **Head:** `fuzz` --- ### 📝 Commits (1) - [`dc96f48`](https://github.com/google/brotli/commit/dc96f4847dd23aed6a1630ddeb1316b946a03e43) fuzz: more complete fuzzing ### 📊 Changes **2 files changed** (+129 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `c/fuzz/decode_fuzzer.c` (+29 -13) ➕ `c/fuzz/encode_fuzzer.c` (+100 -0) </details> ### 📄 Description cc @eustas This PR adds a fuzz target for encoding/compression And it also completes the decode fuzzer by adding support for attaching a dictionary, and setting parameters (BROTLI_DECODER_PARAM_LARGE_WINDOW) This modifies a bit the format that is used (using the first bytes to get the options). Is it ok ? Or should it be a new target ? What do you think of it ? PS : no bugs found after one night of running --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 20:54:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1568