Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Side by Side Diff: third_party/woff2/src/convert_woff2ttf_fuzzer.cc

Issue 2736873002: Update woff2 to cbea7b9 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #include <stddef.h>
2 #include <stdint.h>
3
4 #include "woff2_dec.h"
5
6 // Entry point for LibFuzzer.
7 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
8 std::string buf;
9 woff2::WOFF2StringOut out(&buf);
10 out.SetMaxSize(30 * 1024 * 1024);
11 woff2::ConvertWOFF2ToTTF(data, size, &out);
12 return 0;
13 }
OLDNEW
« no previous file with comments | « third_party/woff2/src/buffer.h ('k') | third_party/woff2/src/convert_woff2ttf_fuzzer_new_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698