From 0a5f7d325a9d7841e9f19ac16919004a19ba417c Mon Sep 17 00:00:00 2001 From: Cody Gunton Date: Mon, 7 Apr 2025 16:10:59 -0400 Subject: [PATCH] Update AFL tutorial to use `url` version having a bug --- src/afl/tutorial.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/afl/tutorial.md b/src/afl/tutorial.md index 9714e0e..ce70fb2 100644 --- a/src/afl/tutorial.md +++ b/src/afl/tutorial.md @@ -21,9 +21,11 @@ So add these to the `Cargo.toml` file: ```toml [dependencies] afl = "*" -url = "*" +url = { git = "https://github.com/servo/rust-url.git", rev = "bfa167b4e0253642b6766a7aa74a99df60a94048" } ``` +We chose a particular revision of `url` that is known to have a bug. Your goal is to find it! + Now we’ll need to write the source for the fuzz target in `src/main.rs`: ```rust,ignore