Closed Bug 92610 Opened 23 years ago Closed 23 years ago

Mozilla on MacOS fails in plarena.c

Categories

(NSPR :: NSPR, defect)

4.1.1
PowerPC
Mac System 8.0
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: larryh, Assigned: larryh)

Details

Attachments

(1 file)

Mozilla on MacOS crashes with stack trace implicating plarena.c in NSPR. 
Examination of memory shows 'avail' greater than 'limit' in the arena header. 
The bug shows up only on Mac; Windows and Unix platforms do not seem to fail.

At NSPR 4.1.1, a change to plarena.c that made the arena allocator a bit more 
readable appears to have introduced this bug.
Attached patch patch to fixSplinter Review
applied the patch, see attachment.
wtc tested same on a Mac. It appears to work.
Status: NEW → ASSIGNED
Patch is checked in on the tip-of-tree.
It would be a good idea to check in the fix on the
NSPRPUB_RELEASE_4_1_BRANCH as well so that it will
be included in the next NSPR 4.1.x patch release.

This bug alone does not necessitate a 4.1.x patch
release though.
checked in to NSPRPUB_RELEASE_4_1_BRANCH.
Marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: