Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6646

StreamingRequestDecoder incompletely initializes its http_parser_settings

    XMLWordPrintableJSON

    Details

    • Sprint:
      Mesosphere Sprint 47
    • Story Points:
      1

      Description

      Coverity reports in CID1394703 at 3rdparty/libprocess/src/decoder.hpp:767:

      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.
      

      It seems like StreamingRequestDecoder should properly initialize its member settings, e.g., with http_parser_settings_init.

        Attachments

          Activity

            People

            • Assignee:
              bbannier Benjamin Bannier
              Reporter:
              bbannier Benjamin Bannier
              Shepherd:
              Anand Mazumdar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: