aboutsummaryrefslogtreecommitdiff
path: root/aero-dav/fuzz
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-03-08 11:34:24 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-03-08 11:34:24 +0100
commit4d65366ff368cc9ea35115cb7e701bfebb166bc6 (patch)
tree549ed84e4da71c7768b81535f7b564be31da37a1 /aero-dav/fuzz
parentb9f32d720ae5ec60cadeb492af781ade48cd6cbf (diff)
downloadaerogramme-4d65366ff368cc9ea35115cb7e701bfebb166bc6.tar.gz
aerogramme-4d65366ff368cc9ea35115cb7e701bfebb166bc6.zip
Fixed some parsing bugs
Diffstat (limited to 'aero-dav/fuzz')
-rw-r--r--aero-dav/fuzz/fuzz_targets/dav.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/aero-dav/fuzz/fuzz_targets/dav.rs b/aero-dav/fuzz/fuzz_targets/dav.rs
index a3c6ece..5bd28bc 100644
--- a/aero-dav/fuzz/fuzz_targets/dav.rs
+++ b/aero-dav/fuzz/fuzz_targets/dav.rs
@@ -9,6 +9,7 @@ use quick_xml::reader::NsReader;
use tokio::runtime::Runtime;
use tokio::io::AsyncWriteExt;
+// Split this file
const tokens: [&str; 63] = [
"0",
"1",
@@ -125,6 +126,9 @@ impl Tag {
#[derive(Arbitrary)]
enum XmlNode {
+ //@FIXME: build RFC3339 and RFC822 Dates with chrono based on timestamps
+ //@FIXME: add small numbers
+ //@FIXME: add http status code
Node(Tag, Vec<Self>),
Number(u64),
Text(Token),