aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkReader32.h
diff options
context:
space:
mode:
authorGravatar senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-20 19:19:09 +0000
committerGravatar senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-20 19:19:09 +0000
commit1a39493b328d945a000a0690659beb18aa932d3d (patch)
tree1ae5141d75e2363524aa2f2d852ac7a9a59b2840 /include/core/SkReader32.h
parent8c5753ea2e74ac46224f4b38f3bdec3e1bba64c6 (diff)
Fix unnitialized memory in Sk2DPathEffect. The SkDescriptor checksum
calculation for Sk2DPathEffect currently evaluates all the bytes in the embedded SkMatrix. This includes the type mask, which contains some uninitialized padding. Changing it to use SkMatrix::flatten() and SkMatrix::unflatten() (as SkGroupShape was doing) avoids the uninitialized data errors. Review URL: http://codereview.appspot.com/4529074/ git-svn-id: http://skia.googlecode.com/svn/trunk@1395 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkReader32.h')
0 files changed, 0 insertions, 0 deletions