forked from minhngoc25a/freetype2
* src/cid/cidload.c (cid_face_open): Fix GDBytes guard (#46408).
This commit is contained in:
parent
837285e407
commit
2985e4fa30
|
@ -1,3 +1,7 @@
|
|||
2015-11-09 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/cid/cidload.c (cid_face_open): Fix GDBytes guard (#46408).
|
||||
|
||||
2015-11-09 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[truetype] Remove integer to pointer conversion compiler warning.
|
||||
|
|
|
@ -750,7 +750,7 @@
|
|||
|
||||
/* sanity tests */
|
||||
|
||||
if ( cid->fd_bytes < 0 || cid->gd_bytes < 0 )
|
||||
if ( cid->fd_bytes < 0 || cid->gd_bytes < 1 )
|
||||
{
|
||||
FT_ERROR(( "cid_parse_dict:"
|
||||
" Invalid `FDBytes' or `GDBytes' value\n" ));
|
||||
|
|
Loading…
Reference in New Issue