Closed Bug 587742 Opened 14 years ago Closed 14 years ago

Malformed cmap table in TT font leads to crash [@TcmapUnicodeTable::GetSubtable]

Categories

(Core :: Graphics, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Tracking Status
status1.9.2 --- .13-fixed
status1.9.1 --- .16-fixed

People

(Reporter: posidron, Assigned: jfkthame)

References

(Blocks 1 open bug)

Details

(Keywords: verified1.9.2, Whiteboard: rdar://8314536)

Attachments

(3 files)

Attached file testccase
Tag: b'cmap' Checksum: 0x0000d510 Offset: 300/0x0000012c Length: 768

Table: b'cmap'
Number of replaced values: 4
Offset:   2/0x000002 Value: ['ff', 'c4', '40', '0f']
Offset:   7/0x000007 Value: ['7f', 'ff', 'ff', 'ff']
Offset: 216/0x0000d8 Value: ['80', '00']
Offset: 486/0x0001e6 Value: ['00', '00', '00', '00', '00', '00', '00', '01']

Note: FontBook is affected to.
Attached file callstack
Attached file callstack-fontbook
Assignee: nobody → jdaggett
This will be fixed by the OTS sanitizer (bug 527276).
Depends on: CVE-2010-3768
Assignee: jdaggett → jfkthame
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified fixed in 1.9.2.13 with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6;
en-US; rv:1.9.2.13pre) Gecko/20101118 Namoroka/3.6.13pre using testcase. Test
no longer crashes as it does in 1.9.2.12.
Keywords: verified1.9.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: