[CONCPP-35] Range check is not enforced for getInt on PS(binary protocol) resultset Created: 2020-09-09  Updated: 2020-09-25  Resolved: 2020-09-25

Status: Closed
Project: MariaDB Connector/C++
Component/s: General
Affects Version/s: None
Fix Version/s: 0.9.4

Type: Bug Priority: Major
Reporter: Lawrin Novitsky Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

i.e. if column is unsigned or of a larger size type, and holds the value 4294967295, getInt will return -1, instead of throwing exception. Text protocol resultset doesn't have that problem. Possibly some other getters has the same problem



 Comments   
Comment by Lawrin Novitsky [ 2020-09-25 ]

Commit 11183f3

Generated at Thu Feb 08 03:07:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.