[Git][slirp/libslirp][master] fuzz: Fix tftp fuzz actually receiving a file

Samuel Thibault (@sthibaul) gitlab at gitlab.freedesktop.org
Thu Apr 25 13:47:52 UTC 2024



Samuel Thibault pushed to branch master at slirp / libslirp


Commits:
ceb6fb6d by Samuel Thibault at 2024-04-25T15:46:09+02:00
fuzz: Fix tftp fuzz actually receiving a file

- - - - -


3 changed files:

- fuzzing/IN_tftp/tftp_capture.pcap
- fuzzing/helper.c
- + fuzzing/tftp/toto


Changes:

=====================================
fuzzing/IN_tftp/tftp_capture.pcap
=====================================
Binary files a/fuzzing/IN_tftp/tftp_capture.pcap and b/fuzzing/IN_tftp/tftp_capture.pcap differ


=====================================
fuzzing/helper.c
=====================================
@@ -183,7 +183,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
     int ret, vprefix6_len = 64;
     const char *vhostname = NULL;
     const char *tftp_server_name = NULL;
-    const char *tftp_export = NULL;
+    const char *tftp_export = "fuzzing/tftp";
     const char *bootfile = NULL;
     const char **dnssearch = NULL;
     const char *vdomainname = NULL;


=====================================
fuzzing/tftp/toto
=====================================
Binary files /dev/null and b/fuzzing/tftp/toto differ



View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/ceb6fb6d75e15eb5f6c47db89332e4e8ae4e843b

-- 
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/ceb6fb6d75e15eb5f6c47db89332e4e8ae4e843b
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/slirp/attachments/20240425/a17de511/attachment-0001.htm>


More information about the Slirp mailing list