Hans Zeller created TRAFODION-2139:
--------------------------------------

             Summary: Possible invalid UTF-8 string in TEXT metadata table
                 Key: TRAFODION-2139
                 URL: https://issues.apache.org/jira/browse/TRAFODION-2139
             Project: Apache Trafodion
          Issue Type: Bug
          Components: sql-cmu
    Affects Versions: 1.3-incubating
            Reporter: Hans Zeller


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to