Closed Bug 601439 Opened 14 years ago Closed 14 years ago

getPropertyPriority("foo") causes ABORT: out of range: '0 <= aProperty && aProperty < eCSSProperty_COUNT'

Categories

(Core :: CSS Parsing and Computation, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla2.0b7

People

(Reporter: jruderman, Assigned: dbaron)

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

###!!! ABORT: out of range: '0 <= aProperty && aProperty < eCSSProperty_COUNT', file layout/style/nsCSSProps.h, line 158
Attached patch patchSplinter Review
I think the worst this does in non-DEBUG is reads one before the beginning of a static array.
Assignee: nobody → dbaron
Status: NEW → ASSIGNED
Attachment #480489 - Flags: review?(bzbarsky)
Comment on attachment 480489 [details] [diff] [review]
patch

r=me
Attachment #480489 - Flags: review?(bzbarsky) → review+
http://hg.mozilla.org/mozilla-central/rev/5b74adbe7679
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Target Milestone: mozilla2.0b8 → mozilla2.0b7
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: