Do not use inline static on unique_ptr

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Security 2019-09-09
    • 40
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When inline static is used in a header for a variable, multiple at_exit entries get registered for the same variable. This leads to undefined behavior.

            Assignee:
            Mark Benvenuto
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: