New issue
Advanced search Search tips

Issue 680052 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Unchecked return value and uninitialized field in quic_framer.cc

Reported by tmora...@akamai.com, Jan 11 2017

Issue description

Chrome Version       : 55.0.2880.2 (present in master too)

Return values from writer->Write* are always checked, except for one case in quic_framer.cc. Given that we mostly check it, I assume these functions can fail and we should always do it.

There's also a minor issue that last_version_tag_ is not initialized in the constructor. We might fix it both at once.

Attaching a patch.
 
quic_framer.cc.patch
919 bytes Download
Cc: rch@chromium.org
Components: Internals>Network>QUIC
Labels: Needs-Feedback
Status: Untriaged (was: Unconfirmed)
Could you submit the patch as described at https://www.chromium.org/developers/contributing-code ?

Note that this also requires agreeing to the CLA ( https://www.chromium.org/developers/contributing-code )

Comment 2 by b...@chromium.org, Feb 2 2017

Status: Archived (was: Untriaged)
Archiving due to lack of activity.  Feel free to reopen once you are ready to submit the patch according to the instructions in comment #1.
Project Member

Comment 3 by bugdroid1@chromium.org, Feb 24 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/67b01e166dce06ce927303403034b6a228d7481d

commit 67b01e166dce06ce927303403034b6a228d7481d
Author: tmoravec <tmoravec@akamai.com>
Date: Fri Feb 24 21:28:09 2017

Fix unchecked return value and uninitialized field.

BUG= 680052 
R=rch@chromium.org

Review-Url: https://codereview.chromium.org/2669443003
Cr-Commit-Position: refs/heads/master@{#452928}

[modify] https://crrev.com/67b01e166dce06ce927303403034b6a228d7481d/AUTHORS
[modify] https://crrev.com/67b01e166dce06ce927303403034b6a228d7481d/net/quic/core/quic_framer.cc

Sign in to add a comment