oss-fuzz/projects/glib/fuzz_bookmark.c

9 lines
266 B
C
Raw Normal View History

2018-08-01 15:29:28 +00:00
#include "glib/glib.h"
#include <stdint.h>
int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
g_autoptr(GBookmarkFile) bookmarkfile = g_bookmark_file_new();
g_bookmark_file_load_from_data(bookmarkfile, (const gchar*)data, size, NULL);
return 0;
}