diff options
author | David Tardon <dtardon@redhat.com> | 2017-04-03 20:26:20 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2017-04-03 20:26:20 +0200 |
commit | a566b9e62921193d7706bc9abef678800f852f17 (patch) | |
tree | 1776c20b39804f2d556ce27f8d57117803e9a749 | |
parent | ff4f56cd0d7123e637edd99760eb8844417bb9db (diff) |
create tag
-rw-r--r-- | fuzz/tagfuzzer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/tagfuzzer.cpp b/fuzz/tagfuzzer.cpp index 2dcc9bb..c3e29c6 100644 --- a/fuzz/tagfuzzer.cpp +++ b/fuzz/tagfuzzer.cpp @@ -21,7 +21,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { const std::string s(reinterpret_cast<const char *>(data), size); - lt_tag_t *tag = 0; + lt_tag_t *tag = lt_tag_new(); lt_error_t *error = 0; lt_tag_parse(tag, s.c_str(), &error); |