mirror of
https://github.com/bspeice/dtparse
synced 2024-11-14 09:58:09 -05:00
Fix typo in the fuzzer script
This commit is contained in:
parent
ac95e9e8c3
commit
4acd072974
@ -4,7 +4,7 @@ extern crate dtparse;
|
|||||||
use dtparse::parse;
|
use dtparse::parse;
|
||||||
#[export_name="rust_fuzzer_test_input"]
|
#[export_name="rust_fuzzer_test_input"]
|
||||||
pub extern fn go(data: &[u8]) {
|
pub extern fn go(data: &[u8]) {
|
||||||
if let Ok(s) = sd::str::from_utf8(data) {
|
if let Ok(s) = std::str::from_utf8(data) {
|
||||||
parse(s);
|
parse(s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user