Skip to content

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

227 B
Raw Blame
#![no_main]

use libfuzzer_sys::fuzz_target;

// The lossless-JPEG decoder on its own: never panic, never allocate past the cap.
fuzz_target!(|data: &[u8]| {
    let _ = photocraft_raw::decode_lossless_jpeg(data, 1 << 22);
});