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

Coverity analysis defect 114585: Uninitialized scalar field

    • Fully Compatible
    • ALL
    • Query 2020-09-21

      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/pipeline/expression_context.h:333: UNINIT_CTOR 114585 Class member declaration for "jsFnTimeoutMillis".
      /src/mongo/db/pipeline/expression_context.cpp:128: UNINIT_CTOR 114585 Non-static class member "jsFnTimeoutMillis" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: