Closed Bug 934520 Opened 11 years ago Closed 11 years ago

undefined behavior in SafeAdd and others

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28

People

(Reporter: sunfish, Assigned: sunfish)

Details

(Whiteboard: [qa-])

Attachments

(1 file)

The attached patch fixes several instances of undefined behavior arising due to overflows and other conditions with signed integer arithmetic. None of these are known to cause observable bugs at this time.
Attachment #826810 - Flags: review?(bhackett1024)
Attachment #826810 - Flags: review?(bhackett1024) → review+
https://hg.mozilla.org/mozilla-central/rev/6ccca624372a
Assignee: nobody → sunfish
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: