Closed Bug 1501174 Opened 6 years ago Closed 6 years ago

Fail to zero new DataBuffer allocations

Categories

(NSS :: Test, enhancement)

3.40
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mt, Assigned: mt)

Details

Attachments

(1 file)

There are a few places where we don't write to elements in DataBuffer.  We don't ever read the values unless they are printed out, but the contents end up quite confusing if they are printed, so it's probably best to clear the array contents on creation.
https://hg.mozilla.org/projects/nss/rev/c496109037eb279657e1799983e4c9aabcc2498b
Assignee: nobody → martin.thomson
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.41
Attached file Zero new allocations
This was causing UMRs in some tests, which was not fatal, but annoying.
(No bug yet).
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: