Uploaded image for project: 'MariaDB Connector/C++'
  1. MariaDB Connector/C++
  2. CONCPP-35

Range check is not enforced for getInt on PS(binary protocol) resultset

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 0.9.4
    • General
    • None

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            Lawrin Lawrin Novitsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.