nsSocketTransportService should use calloc instead of malloc/memset 0

RESOLVED FIXED

Status

()

Core
Networking
RESOLVED FIXED
16 years ago
16 years ago

People

(Reporter: Kathleen Brade, Assigned: Kathleen Brade)

Tracking

Trunk
PowerPC
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

16 years ago
nsSocketTransportService uses malloc and then memset's the memory to 0; instead
it should just call calloc (since this can be optimized on some os)
(Assignee)

Updated

16 years ago
Blocks: 124302
Status: NEW → ASSIGNED
(Assignee)

Comment 1

16 years ago
Created attachment 95856 [details] [diff] [review]
patch to use calloc

Comment 3

16 years ago
Comment on attachment 95856 [details] [diff] [review]
patch to use calloc

sr=darin
Attachment #95856 - Flags: superreview+
(Assignee)

Comment 4

16 years ago
fixed on trunk, chimera m1.0 branch and chimera m1.0.1 branch
Status: ASSIGNED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.