JDK-6318302 : T2K crashes on Rodeo.TTF
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-08-31
  • Updated: 2010-04-04
  • Resolved: 2005-09-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
1.4.2_15Fixed 6 b53Fixed
Description
Hinting engine may cause JVM crash if processed font is not well-formed.
In particular, rasterizing 12pt b&W/AA Rodeo.ttf in Font2DTest 
it is possible to observe either garbage on the screen or even VM crash.

The glyph that cause problems seems to be 8.
*** (#1 of 1): [ UNSAVED ] ###@###.###

Comments
EVALUATION Hinting engine have only few checks for validity of data. In this particular case malformed font (other truetype rasterizer complain about this) refer to points that are out of countour range. This cause reads/writes outside of array bounds. We need to add some checks for data correctness and appropriate compensation actions.
31-08-2005