ReshardingTxnCloner::run can end up accessing uninitialized variable

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v9.0
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The method treats pipeline and execPipeline as pairs: if one is set, the other should also be set. However, they are never set atomically. For example, if buildPipeline throws, the pipeline will be set while execPipeline will remain unset. When the transient error callback gets executed here it can end up accessing an uninitialized variable.

            Assignee:
            Randolph Tan
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: