You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Anand Mazumdar (JIRA)" <ji...@apache.org> on 2016/12/06 02:35:58 UTC
[jira] [Updated] (MESOS-6646) StreamingRequestDecoder incompletely
initializes its http_parser_settings
[ https://issues.apache.org/jira/browse/MESOS-6646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anand Mazumdar updated MESOS-6646:
----------------------------------
Shepherd: Anand Mazumdar
> 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
> Fix For: 1.2.0
>
>
> 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)