Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conn.salt contain "\0" not match the protocal specification #29

Merged
merged 1 commit into from
Dec 5, 2014
Merged

conn.salt contain "\0" not match the protocal specification #29

merged 1 commit into from
Dec 5, 2014

Conversation

wangjild
Copy link

@wangjild wangjild commented Dec 5, 2014

http://dev.mysql.com/doc/internals/en/connection-phase-packets.html#packet-Protocol::HandshakeV10

defines the "string[8] auth-plugin-data-part-1"

so if proxy.Conn.salt contains the "\0" character, some tools(sysbench, wireshark) can't parse the packet correctly.

qq 20141205145418

siddontang added a commit that referenced this pull request Dec 5, 2014
conn.salt contain "\0" not match the protocal specification
@siddontang siddontang merged commit 36b3789 into siddontang:master Dec 5, 2014
@siddontang
Copy link
Owner

👍

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