[CFF] Refix oss-fuzz 11714: set_blends (PR #1458) (#1460)
authorMichiharu Ariza <ariza@adobe.com>
Thu, 6 Dec 2018 21:36:26 +0000 (13:36 -0800)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 6 Dec 2018 21:36:26 +0000 (13:36 -0800)
commit59345cdef38cf1f514a6a0eb6e8852350acb6166
tree24d5eb77afb0d20d6d744dd0906a7fb984aca911
parent20245f0000a0f04f2ba172b51ce69ee7ebb256aa
[CFF] Refix oss-fuzz 11714: set_blends (PR #1458) (#1460)

* pass subarray of stack to set_blends

* get_subarray to return a value, not ref

* restored error check (with tweak)
src/hb-cff-interp-common.hh
src/hb-cff2-interp-cs.hh