mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 05:13:06 +02:00
Merge branch 'fuzzing-uri-flags' into 'master'
fuzzing: Add more GUriFlags to the URI parsing test See merge request GNOME/glib!1816
This commit is contained in:
commit
b108072d9e
@ -32,6 +32,12 @@ LLVMFuzzerTestOneInput (const unsigned char *data, size_t size)
|
|||||||
nul_terminated_data = (unsigned char *) g_strndup ((const gchar *) data, size);
|
nul_terminated_data = (unsigned char *) g_strndup ((const gchar *) data, size);
|
||||||
test_with_flags ((const gchar *) nul_terminated_data, G_URI_FLAGS_NONE);
|
test_with_flags ((const gchar *) nul_terminated_data, G_URI_FLAGS_NONE);
|
||||||
test_with_flags ((const gchar *) nul_terminated_data, G_URI_FLAGS_PARSE_RELAXED);
|
test_with_flags ((const gchar *) nul_terminated_data, G_URI_FLAGS_PARSE_RELAXED);
|
||||||
|
test_with_flags ((const gchar *) nul_terminated_data, G_URI_FLAGS_NON_DNS);
|
||||||
|
test_with_flags ((const gchar *) nul_terminated_data, G_URI_FLAGS_HAS_AUTH_PARAMS);
|
||||||
|
test_with_flags ((const gchar *) nul_terminated_data, G_URI_FLAGS_HAS_PASSWORD);
|
||||||
|
test_with_flags ((const gchar *) nul_terminated_data, G_URI_FLAGS_ENCODED_QUERY);
|
||||||
|
test_with_flags ((const gchar *) nul_terminated_data, G_URI_FLAGS_ENCODED_PATH);
|
||||||
|
test_with_flags ((const gchar *) nul_terminated_data, G_URI_FLAGS_SCHEME_NORMALIZE);
|
||||||
g_free (nul_terminated_data);
|
g_free (nul_terminated_data);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user