[CONJ-1141] StringIndexOutOfBoundsException when handling OkPacket Created: 2023-12-12 Updated: 2023-12-12 |
|
| Status: | Open |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | 3.0.10, 3.1.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Marco Cheung | Assignee: | Diego Dupin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Application A:
|
||
| Attachments: |
|
| 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. |
| Comments |
| Comment by Diego Dupin [ 2023-12-12 ] |
|
This would seems to be corrected in 3.2.0 with this commit (even if not related to it directly) could you confirm ? |