13 lines
303 B
Rust
13 lines
303 B
Rust
use afl::fuzz;
|
|
|
|
use jotdown::Render;
|
|
|
|
fn main() {
|
|
fuzz!(|data: &[u8]| {
|
|
if let Ok(s) = std::str::from_utf8(data) {
|
|
let p = jotdown::Parser::new(s);
|
|
let mut output = String::new();
|
|
jotdown::html::Renderer.push(p, &mut output).unwrap();
|
|
}
|
|
});
|
|
}
|