[minimp3] Add new project integration - #15150
Open
s2ongmo wants to merge 16 commits into
Open
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
s2ongmo is integrating a new project: |
Author
|
Signed the CLA. Please re-check. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add minimp3 fuzzing integration
Project
minimp3 — Minimalistic, single-header MP3 decoder library (C, public domain/CC0).
Fuzz Targets
fuzz_decode_framemp3dec_decode_frame()— core frame-level decoder (minimp3.h)fuzz_decode_bufmp3dec_load_buf(),mp3dec_iterate_buf()— full-buffer decode + iteration (minimp3_ex.h)fuzz_decode_exmp3dec_ex_open_buf(),mp3dec_ex_read(),mp3dec_ex_seek()— streaming API with seek (minimp3_ex.h)Build
Header-only library. Each target compiles with
$CC -cand links with$CXX $LIB_FUZZING_ENGINE -lm. All three targets build cleanly with ASAN, UBSAN, and MSAN.Seed Corpus & Dictionary
vectors/directory (.bittest files)mp3.dictwith MP3 sync words, ID3/APE/Xing tokens, and common frame headersSecurity Relevance
These fuzz targets already found a confirmed security bug: an integer narrowing chain in
mp3dec_ex_seek()leading to OOB read (lieff/minimp3#136), which was fixed in lieff/minimp3#139.Upstream fuzz target PR: lieff/minimp3#137