Constructing a Value with an invalid string can trigger a verify() on debug builds

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • 8
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      As part of the construction of Value from a string, we first create an RCString then set the generic ptr in the value storage. However if the construction of the RCString throws because the string is too large, then unrolling the ValueStorage will trip this verify since we didn't get to the point in the constructor where the refCounter bit is set.

            Assignee:
            Justin Seyster
            Reporter:
            Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: