Skip to content

Slow parsing of malformed font files #97

Closed
@5225225

Description

@5225225

Fuzz target:

#![no_main]
use libfuzzer_sys::fuzz_target;

fuzz_target!(|data: &[u8]| {
    fontdue::Font::from_bytes(data, Default::default());
});

Samples are in a zip file to stop github complaining about the file type

155 seconds: slow.zip
33 seconds: slow.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions