forked from minhngoc25a/freetype2
* src/otvalid/otvcommon.c (otv_Coverage_get_last): Guard `count'.
Problem reported by Marc Schönefeld <marc.schoenefeld@gmx.org>.
This commit is contained in:
parent
99f23d6ff2
commit
04ebb2a000
|
@ -1,3 +1,9 @@
|
|||
2019-09-17 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/otvalid/otvcommon.c (otv_Coverage_get_last): Guard `count'.
|
||||
|
||||
Problem reported by Marc Schönefeld <marc.schoenefeld@gmx.org>.
|
||||
|
||||
2019-09-17 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/sfnt/sfwoff2.c (woff2_open_font): Check table index.
|
||||
|
|
|
@ -151,6 +151,9 @@
|
|||
FT_UInt result = 0;
|
||||
|
||||
|
||||
if ( !count )
|
||||
return result;
|
||||
|
||||
switch ( CoverageFormat )
|
||||
{
|
||||
case 1:
|
||||
|
|
Loading…
Reference in New Issue