Coverity analysis defect 119305: Uninitialized scalar field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • Execution Team 2021-06-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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:849: UNINIT_CTOR 119305 Class member declaration for "_reversePos".
      /src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp:810: UNINIT_CTOR 119305 Non-static class member "_reversePos" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            Alison Lu (Inactive)
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: