fuzzing: Add more fuzzing tests for various string parsing functions

There’s no explicit guarantee that any of these functions are safe to
use on untrusted data, but it does no harm to test them.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall
2020-12-08 11:02:54 +00:00
parent b201e028b2
commit 105f4a0f39
8 changed files with 176 additions and 0 deletions

View File

@@ -1,7 +1,14 @@
fuzz_targets = [
'fuzz_bookmark',
'fuzz_date_parse',
'fuzz_date_time_new_from_iso8601',
'fuzz_dbus_message',
'fuzz_inet_address_mask_new_from_string',
'fuzz_inet_address_new_from_string',
'fuzz_inet_socket_address_new_from_string',
'fuzz_key',
'fuzz_network_address_parse',
'fuzz_network_address_parse_uri',
'fuzz_uri_escape',
'fuzz_uri_parse',
'fuzz_uri_parse_params',