Closed Bug 181324 Opened 23 years ago Closed 21 years ago

jsfile.c buggy on Windows

Categories

(Core :: JavaScript Engine, defect, P3)

x86
Windows 95
defect

Tracking

()

RESOLVED DUPLICATE of bug 132949
mozilla1.3alpha

People

(Reporter: brendan, Assigned: mturk)

References

()

Details

(Keywords: js1.5)

Attachments

(1 file)

Patch from Mladen Turk <mturk@apache.org> coming up. /be
Attached patch Mladen's patch — — Splinter Review
Status: NEW → ASSIGNED
Keywords: js1.5, mozilla1.3
Priority: -- → P3
Target Milestone: --- → mozilla1.3alpha
Comment on attachment 107046 [details] [diff] [review] Mladen's patch - if (*tmp) { + if (strlen(tmp)>0) { unless jsengine really likes wasting cycles, please don't do this. we just landed a patch to remove useless operations like it. In fact, you can change: if ((strlen(pathname)>=2)&&(pathname[1]==':')) { to if (pathname[0] && pathname[1]==':' && pathname[2])
Mladen, I hope you're willing to take this bug and address comment #2. If not, timeless or I will get to it, but it's not as high priorty for us as for you, I'm sure. I'll check the patch in when it's ready. /be
Assignee: brendan → mturk
Status: ASSIGNED → NEW
Also note bug 132949, "Uninitialized pointer used in function call in jsfile.c" That has a proposed patch from davidmaynor@hotmail.com.
QA Contact: pschwartau → general
Marking as a DUPE of a bug with a much more comprehensive patch. *** This bug has been marked as a duplicate of 132949 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: