[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 |