Closed
Bug 16485
Opened 25 years ago
Closed 25 years ago
Potential Y2k problem at nsFTPDirListingConv.cpp:778
Categories
(SeaMonkey :: General, defect, P3)
SeaMonkey
General
Tracking
(Not tracked)
VERIFIED
FIXED
M12
People
(Reporter: anupp, Assigned: jud)
Details
Attachments
(1 file)
654 bytes,
patch
|
Details | Diff | Splinter Review |
Please look at the following code at ./mozilla/netwerk/streamconv/converters/nsFTPDirListingConv.cpp:778 curTime.tm_year = (((aCStr[6]-'0')*10) + aCStr[7]-'0'); The curTime is of type PRExplodedTime. The tm_year in PRExplodedTime represent absolute year (four digit). It appears to me that RHS of the above statement will result in two digit year only. Hence the curTime.tm_year will get assigned the two digit year which i think does not match the defintion of tm_year in PRExplodedTime.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M12
Assignee | ||
Comment 2•25 years ago
|
||
I've got a fix. atatching...
Assignee | ||
Comment 3•25 years ago
|
||
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•25 years ago
|
||
fix checked in 11/10/99 4:30pm pac time.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 5•25 years ago
|
||
Marking Verified/Fixed.
Comment 6•24 years ago
|
||
moving to browser-general component. the `Y2k' component is being retired...
Component: Y2k → Browser-General
Updated•20 years ago
|
Product: Browser → Seamonkey
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•