From e49e2021e540fd1e98cd942bdc8ad574f0f409e8 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Tue, 21 Jan 2020 15:06:26 +0100 Subject: [PATCH] i don't think this fuzzy test is very useful -- the mime-parser will end very early on random-input and DC's parsing machinery probably almost never runs. --- src/mimeparser.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/mimeparser.rs b/src/mimeparser.rs index 3031c3f7b..0c9a6e4c0 100644 --- a/src/mimeparser.rs +++ b/src/mimeparser.rs @@ -1057,17 +1057,6 @@ mod tests { assert_eq!(mimeparser.parts.len(), 1); } - proptest! { - #[ignore] - #[test] - fn test_dc_mailmime_parse_crash_fuzzy(data in "[!-~\t ]{2000,}") { - let context = dummy_context(); - - // just don't crash - let _ = MimeMessage::from_bytes(&context.ctx, data.as_bytes()); - } - } - #[test] fn test_get_rfc724_mid_exists() { let context = dummy_context();