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.
dbgmem-more-limiters
suzuki toshiya 15 years ago
parent 6fc12943e9
commit c69891a134
  1. 8
      ChangeLog
  2. 2
      src/base/ftobjs.c

@ -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.

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

Loading…
Cancel
Save