Skip to content

Commit

Permalink
Fix fuzzing
Browse files Browse the repository at this point in the history
  • Loading branch information
blaind committed Jul 31, 2021
1 parent 1427dd7 commit 6ebb344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuzz/fuzz_targets/fuzz_target_1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use rand::{thread_rng, Rng};
use ttf2mesh::{Quality, TTFFile};

fuzz_target!(|data: &[u8]| {
let mut font = match TTFFile::from_buffer_vec(data.to_vec(), false) {
let mut font = match TTFFile::from_buffer_vec(data.to_vec()) {
Ok(font) => font,
Err(_) => {
//println!("Font load failed");
Expand Down

0 comments on commit 6ebb344

Please sign in to comment.