]
Steven Hawkins resolved TEIID-5954.
-----------------------------------
Resolution: Done
Corrected the readlong methods with casts on the intermediate value.
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
Priority: Blocker
Fix For: 14.0, 13.0.3, 13.1.1
Original Estimate: 1 hour
Time Spent: 1 hour
Remaining Estimate: 0 minutes
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.