Closed Bug 71063 Opened 25 years ago Closed 25 years ago

Cookies code passes nsInputFileStreams by value

Categories

(Core :: Networking: Cookies, defect)

PowerPC
Mac System 8.5
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sfraser_bugs, Assigned: sfraser_bugs)

Details

Attachments

(1 file)

cookie_Get() and cookie_GetLine() get nsInputFileStreams passed by value, not by reference. This is very bad.
r=blake
Do(n't) we want to pass by ref in cookie_GetLine (which, with your current patch, would just pass a ref to the copy of the stream to cookie_Get())?
blake was confused in his last comment.
Sorry, I missed the bottom of the patch to cookie_GetLine. Disregard last comment.
a=morse as module owner.
Taking...
Assignee: morse → sfraser
Checked in.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Add morse to cc list.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: