Initial fix for Savannah bug #30248 and #30249.

* src/base/ftobjs.c (Mac_Read_POST_Resource): Check the error during
reading a PFB fragment embedded in LaserWriter PS font for Macintosh.
Reported by Robert Swiecki.
This commit is contained in:
suzuki toshiya 2010-06-25 09:02:18 +09:00
parent 6fc12943e9
commit c69891a134
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2010-06-25 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
Initial fix for Savannah bug #30248 and #30249.
* src/base/ftobjs.c (Mac_Read_POST_Resource): Check the error during
reading a PFB fragment embedded in LaserWriter PS font for Macintosh.
Reported by Robert Swiecki.
2010-06-24 Werner Lemberg <wl@gnu.org>
Fix Savannah bug #30247.

View File

@ -1574,6 +1574,8 @@
}
error = FT_Stream_Read( stream, (FT_Byte *)pfb_data + pfb_pos, rlen );
if ( error )
goto Exit2;
pfb_pos += rlen;
}