[teiid-issues] [JBoss JIRA] (TEIID-5954) Read long methods allow for overflow

Steven Hawkins (Jira) issues at jboss.org
Tue May 19 11:55:12 EDT 2020


Steven Hawkins created TEIID-5954:
-------------------------------------

             Summary: Read long methods allow for overflow
                 Key: TEIID-5954
                 URL: https://issues.redhat.com/browse/TEIID-5954
             Project: Teiid
          Issue Type: Bug
          Components: ODBC, Query Engine
            Reporter: Steven Hawkins
            Assignee: Steven Hawkins
             Fix For: 14.0, 13.0.3, 13.1.1


The engine and odbc use utility methods for reading long values that do not cast intermediate values to long and thus the higher bytes can overflow.  This corrupts uid/gid values for defrag when they exceed integer limits - which may not be much of an issue in practice.  However for pg/ODBC the readLong method can corrupt long and double binary bind values.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the teiid-issues mailing list