Closed Bug 1035002 Opened 10 years ago Closed 5 years ago

Don't go down the OOM path when realloc(ptr, 0) is called

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: khuey, Unassigned)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
      No description provided.
Attachment #8451385 - Flags: review?(jwalden+bmo)
Comment on attachment 8451385 [details] [diff] [review]
Patch

Review of attachment 8451385 [details] [diff] [review]:
-----------------------------------------------------------------

Again, I think I'd prefer |bytes = bytes > 0 ? bytes : 1;| instead of this.
Attachment #8451385 - Flags: review?(jwalden+bmo)
Assignee: khuey → nobody
Status: ASSIGNED → NEW
Waldo, I don't suppose this is needed anymore?
Flags: needinfo?(jwalden+bmo)

This code no longer exists.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(jwalden)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: