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

Issue 2268863003: Add a fuzzer for SfntlyWrapper::SubsetFont(). (Closed)

Created:
4 years, 4 months ago by Lei Zhang
Modified:
4 years, 4 months ago
CC:
chromium-reviews, behdad, jungshik at Google
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a fuzzer for SfntlyWrapper::SubsetFont(). BUG=639545 Committed: https://crrev.com/05192643e8bfe9ece91d32bd6084f5ccfe33f5a4 Cr-Commit-Position: refs/heads/master@{#414271}

Patch Set 1 #

Patch Set 2 : similarity=0 #

Patch Set 3 : similarity=100 #

Patch Set 4 : Fix undefined shift in FuzzedDataProvider #

Total comments: 4

Patch Set 5 : rebase #

Patch Set 6 : Fuzz font name #

Patch Set 7 : Add test corpus #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -1 line) Patch
M base/test/fuzzed_data_provider.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/sfntly/BUILD.gn View 1 2 3 4 5 6 2 chunks +13 lines, -0 lines 0 comments Download
A third_party/sfntly/fuzzers/DEPS View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A + third_party/sfntly/fuzzers/corpora/sfntly_fuzzer/Ahem.ttf View 1 2 3 4 5 6 Binary file 0 comments Download
A third_party/sfntly/fuzzers/corpora/sfntly_fuzzer/Distortable.ttf View 1 2 3 4 5 6 Binary file 0 comments Download
A third_party/sfntly/fuzzers/corpora/sfntly_fuzzer/DroidSans-Regular.ttf View 1 2 3 4 5 6 Binary file 0 comments Download
A third_party/sfntly/fuzzers/corpora/sfntly_fuzzer/Em.ttf View 1 2 3 4 5 6 Binary file 0 comments Download
A third_party/sfntly/fuzzers/corpora/sfntly_fuzzer/Funkster.ttf View 1 2 3 4 5 6 Binary file 0 comments Download
A third_party/sfntly/fuzzers/corpora/sfntly_fuzzer/HangingS.ttf View 1 2 3 4 5 6 Binary file 0 comments Download
A third_party/sfntly/fuzzers/corpora/sfntly_fuzzer/OpenSans-Regular.ttf View 1 2 3 4 5 6 Binary file 0 comments Download
A third_party/sfntly/fuzzers/corpora/sfntly_fuzzer/ReallyBigA.ttf View 1 2 3 4 5 6 Binary file 0 comments Download
A third_party/sfntly/fuzzers/corpora/sfntly_fuzzer/Roboto-Regular.ttf View 1 2 3 4 5 6 Binary file 0 comments Download
A third_party/sfntly/fuzzers/corpora/sfntly_fuzzer/Roboto2-Regular_NoEmbed.ttf View 1 2 3 4 5 6 Binary file 0 comments Download
A third_party/sfntly/fuzzers/corpora/sfntly_fuzzer/SpiderSymbol.ttf View 1 2 3 4 5 6 Binary file 0 comments Download
A third_party/sfntly/fuzzers/corpora/sfntly_fuzzer/hintgasp.ttf View 1 2 3 4 5 6 Binary file 0 comments Download
A third_party/sfntly/fuzzers/corpora/sfntly_fuzzer/test.ttc View 1 2 3 4 5 6 Binary file 0 comments Download
A third_party/sfntly/fuzzers/subset_font_fuzzer.cc View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (19 generated)
Lei Zhang
Alternatively, we can put this in the sfntly github repo.
4 years, 4 months ago (2016-08-23 02:01:14 UTC) #2
hal.canary
Also, see my latest patch in sfntly on github: https://github.com/googlei18n/sfntly/commit/dc29ad099debf894cd9215de7cafcda30731d0f3 https://codereview.chromium.org/2268863003/diff/60001/third_party/sfntly/fuzzers/subset_font_fuzzer.cc File third_party/sfntly/fuzzers/subset_font_fuzzer.cc (right): https://codereview.chromium.org/2268863003/diff/60001/third_party/sfntly/fuzzers/subset_font_fuzzer.cc#newcode24 ...
4 years, 4 months ago (2016-08-23 15:48:23 UTC) #9
hal.canary
https://codereview.chromium.org/2268863003/diff/60001/base/test/fuzzed_data_provider.cc File base/test/fuzzed_data_provider.cc (right): https://codereview.chromium.org/2268863003/diff/60001/base/test/fuzzed_data_provider.cc#newcode38 base/test/fuzzed_data_provider.cc:38: // Pull bytes off the end of the seed ...
4 years, 4 months ago (2016-08-23 15:49:04 UTC) #10
Lei Zhang
https://codereview.chromium.org/2268863003/diff/60001/base/test/fuzzed_data_provider.cc File base/test/fuzzed_data_provider.cc (right): https://codereview.chromium.org/2268863003/diff/60001/base/test/fuzzed_data_provider.cc#newcode38 base/test/fuzzed_data_provider.cc:38: // Pull bytes off the end of the seed ...
4 years, 4 months ago (2016-08-23 18:05:50 UTC) #12
Lei Zhang
On 2016/08/23 15:48:23, Hal Canary wrote: > Also, see my latest patch in sfntly on ...
4 years, 4 months ago (2016-08-23 18:39:57 UTC) #14
Lei Zhang
ochang/mmoroz: Should I also add some sample fonts to the corpora?
4 years, 4 months ago (2016-08-23 18:45:11 UTC) #15
hal.canary
On 2016/08/23 18:39:57, Lei Zhang wrote: > On 2016/08/23 15:48:23, Hal Canary wrote: > > ...
4 years, 4 months ago (2016-08-23 18:54:06 UTC) #16
hal.canary
lgtm
4 years, 4 months ago (2016-08-23 18:59:40 UTC) #17
Oliver Chang
On 2016/08/23 18:45:11, Lei Zhang wrote: > ochang/mmoroz: Should I also add some sample fonts ...
4 years, 4 months ago (2016-08-23 20:11:54 UTC) #20
Lei Zhang
On 2016/08/23 20:11:54, Oliver Chang (slow) wrote: > On 2016/08/23 18:45:11, Lei Zhang wrote: > ...
4 years, 4 months ago (2016-08-23 20:21:23 UTC) #21
Lei Zhang
On 2016/08/23 20:21:23, Lei Zhang wrote: > Copied some of our own fonts from sfntly ...
4 years, 4 months ago (2016-08-23 20:31:14 UTC) #22
mmoroz
LGTM
4 years, 4 months ago (2016-08-24 16:58:16 UTC) #24
mmoroz
On 2016/08/23 20:31:14, Lei Zhang wrote: > On 2016/08/23 20:21:23, Lei Zhang wrote: > > ...
4 years, 4 months ago (2016-08-24 17:00:02 UTC) #25
Lei Zhang
Thanks. Landing.
4 years, 4 months ago (2016-08-24 18:05:28 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2268863003/120001
4 years, 4 months ago (2016-08-24 18:09:20 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/213135)
4 years, 4 months ago (2016-08-24 20:11:55 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2268863003/120001
4 years, 4 months ago (2016-08-24 20:35:47 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/129349)
4 years, 4 months ago (2016-08-24 23:38:45 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2268863003/120001
4 years, 4 months ago (2016-08-24 23:42:05 UTC) #37
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 4 months ago (2016-08-25 02:30:21 UTC) #38
commit-bot: I haz the power
4 years, 4 months ago (2016-08-25 02:33:07 UTC) #40
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/05192643e8bfe9ece91d32bd6084f5ccfe33f5a4
Cr-Commit-Position: refs/heads/master@{#414271}

Powered by Google App Engine
This is Rietveld 408576698