| Index: net/base/transport_security_state.cc
|
| ===================================================================
|
| --- net/base/transport_security_state.cc (revision 63369)
|
| +++ net/base/transport_security_state.cc (working copy)
|
| @@ -142,7 +142,9 @@
|
| case AFTER_MAX_AGE_EQUALS:
|
| if (IsAsciiWhitespace(*tokenizer.token_begin()))
|
| continue;
|
| - if (!base::StringToInt(tokenizer.token(), &max_age_candidate))
|
| + if (!base::StringToInt(tokenizer.token_begin(),
|
| + tokenizer.token_end(),
|
| + &max_age_candidate))
|
| return false;
|
| if (max_age_candidate < 0)
|
| return false;
|
|
|