Bug #48641 MySQL Proxy Segfaults when connection attempt made from pre-4.1 client
| Submitted: | 9 Nov 2009 16:01 | Modified: | 20 Jan 2010 15:53 |
|---|---|---|---|
| Reporter: | Sam Bashton | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Proxy: Core | Severity: | S1 (Critical) |
| Version: | 0.8 | OS: | Any |
| Assigned to: | Jan Kneschke | CPU Architecture: | Any |
[9 Nov 2009 16:01]
Sam Bashton
[11 Nov 2009 10:02]
Oli Sennhauser
ERROR:network-mysqld-proto.c:572:network_mysqld_proto_get_gstring: assertion failed: (*(packet->data->str + packet->offset + len) == '\0') Aborted
[11 Nov 2009 10:21]
Oli Sennhauser
mysql@master:/tmp [mysqld4030, 4030]> strace -o /tmp/proxy_trace.log -s512 mysql -u root -h127.0.0.1 --port=4040
Attachment: proxy_trace.log (text/x-log), 29.74 KiB.
[11 Nov 2009 10:28]
Oli Sennhauser
strace -o /tmp/proxy_deamon.log -f -ff ./bin/mysql-proxy --proxy-backend-addresses=127.0.0.1:5140
Attachment: proxy_deamon.log.25848 (application/octet-stream, text), 27.87 KiB.
[11 Nov 2009 12:23]
Jan Kneschke
Only happens if no password is used to login.
[11 Nov 2009 12:23]
Jan Kneschke
Fixed in r891
revno: 891
committer: jan@mysql.com
branch nick: trunk
timestamp: Wed 2009-11-11 12:41:31 +0100
message:
allow a empty password in 4.0 auth-response packet
* added a encoder for the 4.0 auth-response
[19 Jan 2010 18:43]
Enterprise Tools JIRA Robot
Diego Medina writes: Verified fixed on 0.8
[20 Jan 2010 15:53]
MC Brown
A note has been added to the 0.8.0 changlog.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.058 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.