Fix mask applied to SkPath::fFillType in readFromMemory to fix fuzzer bug
authorrobertphillips <robertphillips@google.com>
Tue, 28 Jun 2016 11:54:54 +0000 (04:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 28 Jun 2016 11:54:54 +0000 (04:54 -0700)
commit7070a3c44b24da5715dc4da618cb014f87e92451
treedc1668fb880c660c0d0771b713e5829e7feec74f
parentf9bd9da14a668008b3cff9ef69ebf50962e4fd44
Fix mask applied to SkPath::fFillType in readFromMemory to fix fuzzer bug

The fFillType field only needs/uses 2 bits - not all 8

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2099113004

Review-Url: https://codereview.chromium.org/2099113004
src/core/SkPath.cpp