summaryrefslogtreecommitdiff
path: root/fuzzing
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2020-07-15 21:57:41 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2020-07-15 22:03:28 +0400
commit4c6654dcd4d715fe7d6f4cc733d5270702d07d0f (patch)
tree85c804866861f4468ee16c58461a2a73d3cdfea9 /fuzzing
parent5ca8e51ae4f3c29851b2bfd110387ee3768b2c77 (diff)
downloadglib-4c6654dcd4d715fe7d6f4cc733d5270702d07d0f.tar.gz
uri: add illegal_characters argument to unescape_bytes
It's not clear to me why this argument was excluded in the first place, and Dan doesn't remember either. At least for consistency with unescape_string, add it. See also: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1574#note_867283 Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'fuzzing')
-rw-r--r--fuzzing/fuzz_uri_escape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzzing/fuzz_uri_escape.c b/fuzzing/fuzz_uri_escape.c
index 3ee7f7089..ca14973f3 100644
--- a/fuzzing/fuzz_uri_escape.c
+++ b/fuzzing/fuzz_uri_escape.c
@@ -10,7 +10,7 @@ test_bytes (const guint8 *data,
if (size > G_MAXSSIZE)
return;
- unescaped_bytes = g_uri_unescape_bytes ((const gchar *) data, (gssize) size);
+ unescaped_bytes = g_uri_unescape_bytes ((const gchar *) data, (gssize) size, NULL);
if (unescaped_bytes == NULL)
return;