Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1417

RegularExpression has a bug with a static data member

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • Utilities
    • None

    Description

      RegularExpression has a static data member fWordRange which is initialized in a way that is not thread-safe. Also, it does not register a cleanup function, so when the library is terminated, and dangling pointer is left behind.

      A patch is attached for review.

      Attachments

        1. patch.txt
          8 kB
          David N Bertoni
        2. patch2.txt
          11 kB
          David N Bertoni

        Activity

          People

            dbertoni David N Bertoni
            dbertoni David N Bertoni
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: