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

Issue 2611933003: Avoid signed integer overflow when calculating filesizes for VMS's ftp listings. (Closed)

Created:
3 years, 11 months ago by eroman
Modified:
3 years, 11 months ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, Paweł Hajdan Jr.
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid signed integer overflow when calculating filesizes for VMS's ftp listings. BUG=677863 Committed: https://crrev.com/6d16eeca1aeace6b17e8d668f887fcc810a218ef Cr-Commit-Position: refs/heads/master@{#441471}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Add another test #

Total comments: 2

Patch Set 3 : moar test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -74 lines) Patch
M net/ftp/ftp_directory_listing_parser_vms.cc View 4 chunks +23 lines, -13 lines 0 comments Download
M net/ftp/ftp_directory_listing_parser_vms_unittest.cc View 1 2 2 chunks +68 lines, -61 lines 0 comments Download

Messages

Total messages: 30 (19 generated)
eroman
3 years, 11 months ago (2017-01-04 18:34:31 UTC) #7
mmenke
LGTM. I also have a VMS CL for you today. It's the New Year's VMS ...
3 years, 11 months ago (2017-01-04 18:46:41 UTC) #8
eroman
Thanks for the speedy review https://codereview.chromium.org/2611933003/diff/20001/net/ftp/ftp_directory_listing_parser_vms_unittest.cc File net/ftp/ftp_directory_listing_parser_vms_unittest.cc (right): https://codereview.chromium.org/2611933003/diff/20001/net/ftp/ftp_directory_listing_parser_vms_unittest.cc#newcode111 net/ftp/ftp_directory_listing_parser_vms_unittest.cc:111: "README.TXT;1 9223372036854775807/9223372036854775807 18-APR-2000 " ...
3 years, 11 months ago (2017-01-04 18:55:49 UTC) #9
mmenke
https://codereview.chromium.org/2611933003/diff/20001/net/ftp/ftp_directory_listing_parser_vms_unittest.cc File net/ftp/ftp_directory_listing_parser_vms_unittest.cc (right): https://codereview.chromium.org/2611933003/diff/20001/net/ftp/ftp_directory_listing_parser_vms_unittest.cc#newcode111 net/ftp/ftp_directory_listing_parser_vms_unittest.cc:111: "README.TXT;1 9223372036854775807/9223372036854775807 18-APR-2000 " On 2017/01/04 18:55:49, eroman (slow) ...
3 years, 11 months ago (2017-01-04 19:00:26 UTC) #10
mmenke
https://codereview.chromium.org/2611933003/diff/20001/net/ftp/ftp_directory_listing_parser_vms_unittest.cc File net/ftp/ftp_directory_listing_parser_vms_unittest.cc (right): https://codereview.chromium.org/2611933003/diff/20001/net/ftp/ftp_directory_listing_parser_vms_unittest.cc#newcode111 net/ftp/ftp_directory_listing_parser_vms_unittest.cc:111: "README.TXT;1 9223372036854775807/9223372036854775807 18-APR-2000 " On 2017/01/04 19:00:26, mmenke wrote: ...
3 years, 11 months ago (2017-01-04 19:01:33 UTC) #11
eroman
https://codereview.chromium.org/2611933003/diff/20001/net/ftp/ftp_directory_listing_parser_vms_unittest.cc File net/ftp/ftp_directory_listing_parser_vms_unittest.cc (right): https://codereview.chromium.org/2611933003/diff/20001/net/ftp/ftp_directory_listing_parser_vms_unittest.cc#newcode111 net/ftp/ftp_directory_listing_parser_vms_unittest.cc:111: "README.TXT;1 9223372036854775807/9223372036854775807 18-APR-2000 " On 2017/01/04 19:01:33, mmenke wrote: ...
3 years, 11 months ago (2017-01-04 19:04:31 UTC) #12
mmenke
Oops, was thinking you were using MAX_INT64+1. Thanks for correcting me! Still LGTM. https://codereview.chromium.org/2611933003/diff/40001/net/ftp/ftp_directory_listing_parser_vms_unittest.cc File ...
3 years, 11 months ago (2017-01-04 19:07:24 UTC) #15
eroman
https://codereview.chromium.org/2611933003/diff/40001/net/ftp/ftp_directory_listing_parser_vms_unittest.cc File net/ftp/ftp_directory_listing_parser_vms_unittest.cc (right): https://codereview.chromium.org/2611933003/diff/40001/net/ftp/ftp_directory_listing_parser_vms_unittest.cc#newcode117 net/ftp/ftp_directory_listing_parser_vms_unittest.cc:117: "README.TXT;1 19223372036854775807/19223372036854775807 18-APR-2000 " On 2017/01/04 19:07:24, mmenke wrote: ...
3 years, 11 months ago (2017-01-04 20:16:58 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2611933003/60001
3 years, 11 months ago (2017-01-04 21:32:51 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:60001)
3 years, 11 months ago (2017-01-04 21:38:48 UTC) #28
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 21:43:01 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6d16eeca1aeace6b17e8d668f887fcc810a218ef
Cr-Commit-Position: refs/heads/master@{#441471}

Powered by Google App Engine
This is Rietveld 408576698