Skip to content

go/mysql: conn.go: Fix read-after-recycle bug of the packet byte buffer in COM_{STMT_SEND_LONG_DATA,REGISTER_REPLICA,BINLOG_DUMP_GTID}.#399

Merged
reltuk merged 2 commits intomainfrom
aaron/mysql-conn-early-copy-SEND_LONG_DATA
Feb 28, 2025
Merged

go/mysql: conn.go: Fix read-after-recycle bug of the packet byte buffer in COM_{STMT_SEND_LONG_DATA,REGISTER_REPLICA,BINLOG_DUMP_GTID}.#399
reltuk merged 2 commits intomainfrom
aaron/mysql-conn-early-copy-SEND_LONG_DATA

Conversation

@reltuk
Copy link

@reltuk reltuk commented Feb 28, 2025

Back ports vitessio@24820d8

@reltuk reltuk requested a review from zachmu as a code owner February 28, 2025 00:19
@reltuk reltuk changed the title go/mysql: conn.go: Fix read-after-recycle bug of the packet byte buffer in COM_STMT_SEND_LONG_DATA. go/mysql: conn.go: Fix read-after-recycle bug of the packet byte buffer in COM_{STMT_SEND_LONG_DATA,REGISTER_REPLICA,BINLOG_DUMP_GTID}. Feb 28, 2025
Copy link

@fulghum fulghum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@reltuk reltuk merged commit c4f6bba into main Feb 28, 2025
4 checks passed
@Hydrocharged Hydrocharged deleted the aaron/mysql-conn-early-copy-SEND_LONG_DATA branch January 9, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants