Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-2139

Possible invalid UTF-8 string in TEXT metadata table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.3-incubating
    • None
    • sql-cmu
    • None
    • Important

    Description

      Method CmpSeabaseDDL::updateTextTable() takes a string, splits it into chunks of a maximum size and inserts them into the TEXT table. I have not yet verified that this problem actually can occur, but I think there is a possibility that the method will split a multi-byte UTF-8 character in the middle and will get an error. To fix this, we should use method findStartOfChar() in file sql/common/csconvert.h to find a good point to split the text.

      Attachments

        Activity

          People

            hzeller Hans Zeller
            hzeller Hans Zeller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: