google / google/oss-fuzz

Test fixtures for data files should have some kind of helpful file extension

Open
#10,362 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
12.6k
Forks
2.9k
Avg merge
2d 2h
Merged PRs (30d)
62

Description

As a "user" of the issue https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=53669&q=label%3AProj-apache-commons-imaging I was confounded by the "Reproducer Testcase" file https://oss-fuzz.com/download?testcase_id=5965016805539840 which I mistakenly took to be a zip file instead of a TIFF file.

I wish the file had a more helpful extension. If none can be computed by the tool, then I'd suggest using ".bin" to indicate this is an unknown binary file.

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by tracing how the OSS-Fuzz testcase download at the linked URL assigns filenames, then determine whether the file type can be identified; done means recognized data receives a helpful extension and unknown binary data uses .bin.

Written by the indexing model from the issue text.

Assessment

Domain
testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.