Skip to content

Commit d6d3605

Browse files
committed
Disable only-ascii filter
This was added to make reading easier; not because it's actually needed.
1 parent c1176af commit d6d3605

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fuzz/fuzz_targets/fuzz_patch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::process::Command;
88

99
fuzz_target!(|x: (Vec<u8>, Vec<u8>, u8)| {
1010
let (from, to, context) = x;
11-
if let Ok(s) = String::from_utf8(from.clone()) {
11+
/*if let Ok(s) = String::from_utf8(from.clone()) {
1212
if !s.is_ascii() { return }
1313
if s.find(|x| x < ' ' && x != '\n').is_some() { return }
1414
} else {
@@ -19,7 +19,7 @@ fuzz_target!(|x: (Vec<u8>, Vec<u8>, u8)| {
1919
if s.find(|x| x < ' ' && x != '\n').is_some() { return }
2020
} else {
2121
return
22-
}
22+
}*/
2323
let diff = unified_diff::diff(&from, "a/fuzz.file", &to, "target/fuzz.file", context as usize);
2424
File::create("target/fuzz.file.original")
2525
.unwrap()

0 commit comments

Comments
 (0)