You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Phil Sorber (JIRA)" <ji...@apache.org> on 2015/09/15 04:18:46 UTC
[jira] [Updated] (TS-3846) CID 1316404: Uninitialized members in
HTTP2.h
[ https://issues.apache.org/jira/browse/TS-3846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phil Sorber updated TS-3846:
----------------------------
Backport to Version: 5.3.3
> CID 1316404: Uninitialized members in HTTP2.h
> ----------------------------------------------
>
> Key: TS-3846
> URL: https://issues.apache.org/jira/browse/TS-3846
> Project: Traffic Server
> Issue Type: Bug
> Components: HTTP/2
> Reporter: Masakazu Kitajo
> Assignee: Masakazu Kitajo
> Fix For: 6.0.0
>
>
> {noformat}
> *** CID 1316404: Uninitialized members (UNINIT_CTOR)
> /proxy/http2/HTTP2.h: 254 in Http2HeadersParameter::Http2HeadersParameter()()
> 248 uint32_t stream_dependency;
> 249 uint8_t weight;
> 250 };
> 251
> 252 // 6.2 HEADERS Format
> 253 struct Http2HeadersParameter {
> CID 1316404: Uninitialized members (UNINIT_CTOR)
> Non-static class member field "priority.weight" is not initialized in this constructor nor in any functions that it calls.
> 254 Http2HeadersParameter() : pad_length(0) {}
> 255
> 256 uint8_t pad_length;
> 257 Http2Priority priority;
> 258 };
> 259
> {noformat}
> Spec:
> https://tools.ietf.org/html/rfc7540#section-5.3.2
> {noformat}
> 5.3.2. Dependency Weighting
> All dependent streams are allocated an integer weight between 1 and
> 256 (inclusive).
> {noformat}
> https://tools.ietf.org/html/rfc7540#section-5.3.5
> {noformat}
> 5.3.5. Default Priorities
> All streams are initially assigned a non-exclusive dependency on
> stream 0x0. Pushed streams (Section 8.2) initially depend on their
> associated stream. In both cases, streams are assigned a default
> weight of 16.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)