FTP directory parsing accepts timestamp components containing a leading plus sign. |
||||
Issue descriptionftp_directory_listing_parser_ls.cc uses base::StringToInt() to parse the components of dates, without checking if the component contained a leading plus. This is going to recognize more things than expected, but should not be causing harm. However I don't think that was the intent of the code.
,
Mar 21 2016
,
Mar 23 2016
,
Apr 15 2016
These are using string16 inputs, so the parse_number.h versions aren't currently applicable. Not much advantage in "fixing" these, as it is just directory listing where strictness is not a thing. |
||||
►
Sign in to add a comment |
||||
Comment 1 by eroman@chromium.org
, Mar 21 2016