Closed Bug 504464 Opened 15 years ago Closed 15 years ago

nsCanvasRenderingContext2D::Restore checks to see if unsigned mSaveCount is negative

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug, )

Details

(Keywords: coverity)

Attachments

(1 file)

371 PRUint32 mSaveCount; 1073 if (mSaveCount < 0) 1074 return NS_ERROR_DOM_INVALID_STATE_ERR;
Keywords: coverity
Attached patch patch (deleted) — Splinter Review
Attachment #388836 - Flags: review?(vladimir)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Component: DOM: Mozilla Extensions → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: