Coverity analysis defect 140476: Uninitialized scalar field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • ALL
    • Storage Execution 2025-09-01
    • None
    • 3
    • TBD
    • None
    • 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
      /data/mci/9292c3def3822c0dfd66af88847bcc64/bazel_cache/004acac643584f695e6309f72694e5ad/execroot/_main/src/mongo/db/timeseries/bucket_catalog/flat_bson.h:131: UNINIT_CTOR 140476 Class member declaration for "_offsetEnd".
      /data/mci/9292c3def3822c0dfd66af88847bcc64/bazel_cache/004acac643584f695e6309f72694e5ad/execroot/_main/src/mongo/db/timeseries/bucket_catalog/flat_bson.cpp:116: UNINIT_CTOR 140476 Non-static class member "_offsetEnd" is not initialized in this constructor nor in any functions that it calls.
      /data/mci/9292c3def3822c0dfd66af88847bcc64/bazel_cache/004acac643584f695e6309f72694e5ad/execroot/_main/src/mongo/db/timeseries/bucket_catalog/flat_bson.h:133: UNINIT_CTOR 140476 Class member declaration for "_offsetParent".
      /data/mci/9292c3def3822c0dfd66af88847bcc64/bazel_cache/004acac643584f695e6309f72694e5ad/execroot/_main/src/mongo/db/timeseries/bucket_catalog/flat_bson.cpp:116: UNINIT_CTOR 140476 Non-static class member "_offsetParent" is not initialized in this constructor nor in any functions that it calls.

              Assignee:
              Binh Vo
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: