Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49796

Coverity analysis defect 115964: Uninitialized scalar field _reversePos

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Execution Team 2021-06-14

      Description

      Uninitialized scalar field

      The field will contain an arbitrary value left over from earlier computations. A scalar field is not initialized by the constructor
      /src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp:846: UNINIT_CTOR 115964 Class member declaration for "_reversePos".
      /src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp:807: UNINIT_CTOR 115964 Non-static class member "_reversePos" is not initialized in this constructor nor in any functions that it calls.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jackson.xie Jackson Xie (Inactive)
              Reporter:
              xgen-internal-coverity Coverity Collector User
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: