Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1141

StringIndexOutOfBoundsException when handling OkPacket

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 3.0.10, 3.1.4
    • N/A
    • Other
    • None

    Description

      Our two spring boot applications sometimes received StringIndexOutOfBoundsException in OkPacket when creating transaction. May I know is there any scenario that the buffer will be null and cause the issue?

      For your reference, we have some other applications using Spring Boot 2.4.9 with MariaDB Connector 2.7.3. We didn't see any exception throw by MariaDB Connector so far when creating transaction. I checked that 2.7.3 didn't contain OkPacket class so I am not sure are they related.

      Attachments

        Activity

          diego dupin Diego Dupin added a comment -

          This would seems to be corrected in 3.2.0 with this commit (even if not related to it directly)

          could you confirm ?

          diego dupin Diego Dupin added a comment - This would seems to be corrected in 3.2.0 with this commit (even if not related to it directly) could you confirm ?
          diego dupin Diego Dupin added a comment -

          closing since no answer. Feel free to create new issue, linked to this one if still the case

          diego dupin Diego Dupin added a comment - closing since no answer. Feel free to create new issue, linked to this one if still the case
          marco129 Marco Cheung added a comment -

          The connector in our application upgraded to 3.3.2 recently and it is working with no issue so far, thanks

          marco129 Marco Cheung added a comment - The connector in our application upgraded to 3.3.2 recently and it is working with no issue so far, thanks

          People

            diego dupin Diego Dupin
            marco129 Marco Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.