Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Issue 348036: Implement VMS FTP directory listing parser. (Closed)

Created:
11 years, 1 month ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
Reviewers:
eroman, wtc
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Implement VMS FTP directory listing parser. This may not yet correctly handle all possible variants of VMS, because there multiple TCP/IP network stacks available for that system. TEST=Covered by net_unittests. BUG=22193, 25520 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30995

Patch Set 1 #

Total comments: 26

Patch Set 2 : fixes #

Total comments: 1

Patch Set 3 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1005 lines, -78 lines) Patch
A net/data/ftp/dir-listing-vms-1 View 1 chunk +19 lines, -0 lines 0 comments Download
A net/data/ftp/dir-listing-vms-1.expected View 1 chunk +98 lines, -0 lines 0 comments Download
A net/data/ftp/dir-listing-vms-2 View 1 chunk +35 lines, -0 lines 0 comments Download
A net/data/ftp/dir-listing-vms-2.expected View 1 chunk +260 lines, -0 lines 0 comments Download
A net/data/ftp/dir-listing-vms-3 View 1 chunk +3 lines, -0 lines 0 comments Download
A net/data/ftp/dir-listing-vms-3.expected View 0 chunks +-1 lines, --1 lines 0 comments Download
A net/data/ftp/dir-listing-vms-4 View 1 chunk +15 lines, -0 lines 0 comments Download
A net/data/ftp/dir-listing-vms-4.expected View 1 chunk +71 lines, -0 lines 0 comments Download
M net/ftp/ftp_directory_listing_buffer.cc View 1 4 chunks +20 lines, -14 lines 0 comments Download
M net/ftp/ftp_directory_listing_buffer_unittest.cc View 1 2 3 chunks +18 lines, -14 lines 0 comments Download
M net/ftp/ftp_directory_listing_parsers.h View 1 2 chunks +56 lines, -11 lines 0 comments Download
M net/ftp/ftp_directory_listing_parsers.cc View 1 4 chunks +302 lines, -33 lines 0 comments Download
M net/ftp/ftp_directory_listing_parsers_unittest.cc View 1 7 chunks +109 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Paweł Hajdan Jr.
11 years, 1 month ago (2009-11-02 09:04:31 UTC) #1
eroman
This parsing code definitely looks more robust from a security standpoint (looks like you are ...
11 years, 1 month ago (2009-11-02 23:55:21 UTC) #2
Paweł Hajdan Jr.
Thanks for review. While fixing the initial issues, I discovered a new variant of VMS ...
11 years, 1 month ago (2009-11-04 16:00:13 UTC) #3
eroman
lgtm http://codereview.chromium.org/348036/diff/1/8 File net/ftp/ftp_directory_listing_parsers.cc (right): http://codereview.chromium.org/348036/diff/1/8#newcode293 Line 293: FtpVmsDirectoryListingParser::FtpVmsDirectoryListingParser() On 2009/11/04 16:00:13, Paweł Hajdan Jr. ...
11 years, 1 month ago (2009-11-04 19:57:15 UTC) #4
Paweł Hajdan Jr.
11 years, 1 month ago (2009-11-04 20:56:29 UTC) #5
On 2009/11/04 19:57:15, eroman wrote:
> My personal preference is one class per file, as it keeps each file compact,
and
> the local symbol names in each file can be short and simple (as their won't be
> conflicts). I don't find number of files on disk to be a problem.

Yes, it's a good point. I'll consider it after adding more parsers, I'll have
better overview then.

> http://codereview.chromium.org/348036/diff/4001/3012
> File net/ftp/ftp_directory_listing_buffer_unittest.cc (right):
> 
> http://codereview.chromium.org/348036/diff/4001/3012#newcode23
> Line 23: //"dir-listing-vms-3",
> Why are these lines commented out?

Ooops. Good catch. It was easier for me to debug when running just the failing
test case. Uncommented the lines and committed.

Powered by Google App Engine
This is Rietveld 408576698