[Poppler-bugs] [Bug 24525] poppler: missing readEmbFontFile return value checks

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 20 00:02:40 PDT 2009


--- Comment #4 from Tomas Hoger <thoger at redhat.com>  2009-10-20 00:02:40 PST ---
Can you try checking the value of fontLen before / after call to
readEmbFontFile?  That variable is not initialized anywhere, if you happen to
have it set to 0 (or <= 3), it will avoid crash for TrueType font:


called from FoFiTrueType::parse().  So you may not see the crash on certain
builds.  Forcing fontLen to non-0 value prior to call to readEmbFontFile can
help reproduce.

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Poppler-bugs mailing list