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

Unified Diff: ui/gfx/icc_profile.h

Issue 2224023002: Fix unitialized data field in QCMS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: forgot actual fuzzer file Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/color_transform_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/icc_profile.h
diff --git a/ui/gfx/icc_profile.h b/ui/gfx/icc_profile.h
index 7a2ad76894e82f43e99b7328963acc00fbe2866f..df17059298996a80111e8216a7848d86832f4f00 100644
--- a/ui/gfx/icc_profile.h
+++ b/ui/gfx/icc_profile.h
@@ -15,6 +15,8 @@
#include <CoreGraphics/CGColorSpace.h>
#endif
+extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size);
+
namespace gfx {
// Used to represent a full ICC profile, usually retrieved from a monitor. It
@@ -69,6 +71,7 @@ class GFX_EXPORT ICCProfile {
uint64_t id_ = 0;
FRIEND_TEST_ALL_PREFIXES(SimpleColorSpace, BT709toSRGBICC);
+ friend int ::LLVMFuzzerTestOneInput(const uint8_t*, size_t);
friend class ColorSpace;
friend struct IPC::ParamTraits<gfx::ICCProfile>;
};
« no previous file with comments | « ui/gfx/color_transform_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698