You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panic: runtime error: slice bounds out of range [:25080] with capacity 4096 [recovered]
panic: runtime error: slice bounds out of range [:25080] with capacity 4096
Configuration
Driver version (or git SHA):
1.7
Go version: run go version in your console
go version go1.21.0 linux/amd64
Server version: E.g. MySQL 5.6, MariaDB 10.0.20
mariadb Server OS: E.g. Debian 8.1 (Jessie), Windows 10
ubuntu22 wsl
The text was updated successfully, but these errors were encountered:
Same problem here. We are using JWT tokens to authorize against Azure MySQL Flexible Server. Our username and token combined are over 4k for some identities.
Issue description
When the username is operated with a length of 4096 bits, it will definitely cause a panic error. The password has not been verified yet.
Example code
Error log
Configuration
Driver version (or git SHA):
1.7
Go version: run
go version
in your consolego version go1.21.0 linux/amd64
Server version: E.g. MySQL 5.6, MariaDB 10.0.20
mariadb
Server OS: E.g. Debian 8.1 (Jessie), Windows 10
ubuntu22 wsl
The text was updated successfully, but these errors were encountered: