diff options
| author | nharper <nharper@chromium.org> | 2016-03-24 17:40:17 -0700 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2016-03-25 00:41:21 +0000 |
| commit | bafc20f876b6a70a5bee326eb388f6a057143112 (patch) | |
| tree | c1fc675d705d7fdbd734164b766a9d1f7c71efd2 | |
| parent | 8987b533261577c3a86f5e0f4ec6369d3c4847fc (diff) | |
| download | chromium_src-bafc20f876b6a70a5bee326eb388f6a057143112.zip chromium_src-bafc20f876b6a70a5bee326eb388f6a057143112.tar.gz chromium_src-bafc20f876b6a70a5bee326eb388f6a057143112.tar.bz2 | |
Fix crash in URLRequestHttpJob::OnStartCompleted
BUG=548423
Review URL: https://codereview.chromium.org/1833803002
Cr-Commit-Position: refs/heads/master@{#383207}
| -rw-r--r-- | net/url_request/url_request_http_job.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc index add9ed1..9cc0209 100644 --- a/net/url_request/url_request_http_job.cc +++ b/net/url_request/url_request_http_job.cc @@ -1017,8 +1017,10 @@ void URLRequestHttpJob::OnStartCompleted(int result) { return; } } - LogChannelIDAndCookieStores(request_->url(), request_->context(), - transaction_->GetResponseInfo()->ssl_info); + if (transaction_ && transaction_->GetResponseInfo()) { + LogChannelIDAndCookieStores(request_->url(), request_->context(), + transaction_->GetResponseInfo()->ssl_info); + } SaveCookiesAndNotifyHeadersComplete(OK); } else if (IsCertificateError(result)) { |
