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

RESOLVED FIXED

Status

()

Core
Graphics
--
critical
RESOLVED FIXED
7 years ago
5 years ago

People

(Reporter: posidron, Assigned: jfkthame)

Tracking

(Blocks: 1 bug, {verified1.9.2})

Trunk
x86_64
Mac OS X
verified1.9.2
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(status1.9.2 .13-fixed, status1.9.1 .16-fixed)

Details

(Whiteboard: rdar://8314536)

Attachments

(3 attachments)

(Reporter)

Description

7 years ago
Created attachment 466382 [details]
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.
(Reporter)

Comment 1

7 years ago
Created attachment 466383 [details]
callstack
(Reporter)

Comment 2

7 years ago
Created attachment 466384 [details]
callstack-fontbook

Updated

7 years ago
Assignee: nobody → jdaggett
(Assignee)

Comment 3

7 years ago
This will be fixed by the OTS sanitizer (bug 527276).
Depends on: 527276
(Assignee)

Updated

7 years ago
Assignee: jdaggett → jfkthame
Status: NEW → RESOLVED
Last Resolved: 7 years ago
status1.9.2: --- → .13-fixed
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
status1.9.1: --- → .16-fixed
(Reporter)

Updated

5 years ago
Blocks: 750695
You need to log in before you can comment on or make changes to this bug.