Shutdown race with use after free in DeadlineFuture

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v5.2, v4.4
    • 170
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The callback in DeadlineFuture is using the _mutex before checking that the callback itself is canceled.
      We do wait properly in the HealthObserver for the thread pool termination, the DeadlineFuture instance is guaranteed to be available if the callback args are checked. Also, would be nice to check the cancelation token as well.

            Assignee:
            Andrew Shuvalov (Inactive)
            Reporter:
            Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: