[
https://issues.apache.org/jira/browse/MESOS-6646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bannier updated MESOS-6646:
------------------------------------
Description:
Coverity reports in CID1394703 at {{3rdparty/libprocess/src/decoder.hpp:767}}:
{code}
CID 1394703 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
2. uninit_member: Non-static class member field settings.on_status is not
initialized in this constructor nor in any functions that it calls.
{code}
It seems like {{StreamingRequestDecoder}} should properly initialize its member
{{settings}}, e.g., with {{http_parser_settings_init}}.
was:
Coverity reports in CID1394703 at {{3rdparty/libprocess/src/decoder.hpp}}:
{code}
CID 1394703 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
2. uninit_member: Non-static class member field settings.on_status is not
initialized in this constructor nor in any functions that it calls.
{code}
It seems like {{StreamingRequestDecoder}} should properly initialize its member
{{settings}}, e.g., with {{http_parser_settings_init}}.
> StreamingRequestDecoder incompletely initializes its http_parser_settings
> -------------------------------------------------------------------------
>
> Key: MESOS-6646
> URL: https://issues.apache.org/jira/browse/MESOS-6646
> Project: Mesos
> Issue Type: Bug
> Components: libprocess
> Reporter: Benjamin Bannier
> Assignee: Benjamin Bannier
> Labels: coverity
>
> Coverity reports in CID1394703 at {{3rdparty/libprocess/src/decoder.hpp:767}}:
> {code}
> CID 1394703 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
> 2. uninit_member: Non-static class member field settings.on_status is not
> initialized in this constructor nor in any functions that it calls.
> {code}
> It seems like {{StreamingRequestDecoder}} should properly initialize its
> member {{settings}}, e.g., with {{http_parser_settings_init}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)