mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
16 lines
318 B
C
16 lines
318 B
C
|
#include "fuzz.h"
|
||
|
|
||
|
int
|
||
|
LLVMFuzzerTestOneInput (const unsigned char *data, size_t size)
|
||
|
{
|
||
|
GBookmarkFile *bookmark = NULL;
|
||
|
|
||
|
fuzz_set_logging_func ();
|
||
|
|
||
|
bookmark = g_bookmark_file_new ();
|
||
|
g_bookmark_file_load_from_data (bookmark, (const gchar*) data, size, NULL);
|
||
|
|
||
|
g_bookmark_file_free (bookmark);
|
||
|
return 0;
|
||
|
}
|