Closed
Bug 504726
Opened 15 years ago
Closed 9 years ago
tm_year off by 1900 bugs in ParseFTPList.cpp
Categories
(Core Graveyard :: Networking: FTP, defect)
Core Graveyard
Networking: FTP
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: wtc, Assigned: wtc)
Details
Attachments
(1 file)
4.92 KB,
patch
|
michal
:
review+
Biesinger
:
superreview+
|
Details | Diff | Splinter Review |
This bug is similar to the second issue that Michal Novotny
fixed in bug 365133 comment 3, but was found by my code inspection.
Since ParseFTPList.cpp handles all kinds of FTP servers, it's
hard to find the particular kinds of FTP servers affected by
this bug, so I'm afraid that the correctness of my patch needs
to be determined by code review.
I am submitting this patch in fulfillment of the requirements of
MPL section 3.2 because Chromium's src/net/ftp/ftp_directory_parser.cc
is based on ParseFTPList.cpp.
Attachment #389074 -
Flags: superreview?(doug.turner)
Attachment #389074 -
Flags: review?(michal)
Updated•15 years ago
|
Attachment #389074 -
Flags: review?(michal) → review+
Comment 1•15 years ago
|
||
Comment on attachment 389074 [details] [diff] [review]
Proposed patch
Looks good. Would be nice to have a testcase...
Updated•15 years ago
|
Attachment #389074 -
Flags: superreview?(doug.turner) → superreview?(jduell.mcbugs)
Comment 2•15 years ago
|
||
Comment on attachment 389074 [details] [diff] [review]
Proposed patch
Sorry, I'm not a superreviewer. Assigning to biesi. If you don't get a response from him, try bz (note: this is a fairly small patch, so it shouldn't take too much time).
Attachment #389074 -
Flags: superreview?(jduell.mcbugs) → superreview?(cbiesinger)
Comment 3•15 years ago
|
||
Comment on attachment 389074 [details] [diff] [review]
Proposed patch
I love how this code is inconsistent :/
in one place:
if (result->fe_time.tm_year < 70)
result->fe_time.tm_year += 100;
in another place:
if (result->fe_time.tm_year < 80)
result->fe_time.tm_year += 2000;
Attachment #389074 -
Flags: superreview?(cbiesinger) → superreview+
Comment 4•9 years ago
|
||
We are in a period where ftp is clearly deprecated and in general, making changes to the code is riskier than letting it ride unless there is a patch and reviewer available to make a good judgment about it. So I'm going to wontfix ftp bugs related to enhancements, interop errors, etc.. We will be better off putting our energy into including a different js based ftp stack.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•8 months ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•