Closed
Bug 467368
Opened 16 years ago
Closed 16 years ago
_wfullpath implementation doesn't handle paths with "../" correctly
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: blassey, Assigned: blassey)
Details
(Keywords: fixed1.9.1, mobile)
Attachments
(2 files)
1.13 KB,
patch
|
dougt
:
review-
|
Details | Diff | Splinter Review |
1.07 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•16 years ago
|
||
this if from our patch queue, so 3 lines of context. Let me know if you need a proper patch to review
Attachment #350773 -
Flags: review?(doug.turner)
Comment 2•16 years ago
|
||
spacing is off (both extra ws added, and the indentation is wrong) can you test _wgetcwd for error? Otherwise, i think this might do the wrong thing: unsigned long len = wcslen(cwd); test for error: CeGetCanonicalPathName
Updated•16 years ago
|
Attachment #350773 -
Flags: review?(doug.turner) → review-
Comment 3•16 years ago
|
||
Almost identical patch - just added fixed formatting, added safety checks into function calls to _wgetcwd() and CeGetCanonicalPathName() - as per doug's comment
Attachment #352139 -
Flags: review?(doug.turner)
Comment 4•16 years ago
|
||
changeset: 22818:10a2365bd525 tag: tip user: John Wolfe <wolfe@lobo.us date: Mon Dec 15 10:53:21 2008 -0800 summary: Bug 467368 - Windows Mobile _wfullpath implementation doesn't handle paths with ../ correctly I added a #error in the !30 section so that people do not chase down this bug on older SDKs. However, I do not think it matters since the shunt will not be of much real value on those SDKs as so much required stuff is missing in order to build mozilla.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Attachment #352139 -
Flags: review?(doug.turner)
Assignee | ||
Comment 6•16 years ago
|
||
pushed http://hg.mozilla.org/releases/mozilla-1.9.1/rev/ef7b9729d6a4
Keywords: fixed1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•