1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-24 19:42:23 +03:00
Files
mariadb/sql
Davi Arnaut c20552e1c7 Bug#12563279: REGRESSION IN HANDLING PRE-4.1 AUTHENTICATION PACKET
The problem is that clients implementing the 4.0 version of the
protocol (that is, mysql-4.0) do not null terminate a string
at the end of the authentication packet. These clients denote
the end of the string with the end of the packet.

Although this goes against the documented (see MySQL Internals
ClientServer Protocol wiki) description of the protocol, these
old clients still need to be supported.

The solution is to support the documented and actual behavior
of the clients. If a client is using the pre-4.1 version of
the protocol, the end of a string in the authentication packet
can either be denoted with a null character or by the end of
the packet. This restores backwards compatibility with old
clients implementing either the documented or actual behavior.
2011-05-30 07:42:30 -03:00
..
2010-12-29 00:47:05 +01:00
2010-12-29 00:47:05 +01:00
2011-05-06 00:46:53 +01:00
2010-12-29 00:47:05 +01:00
2010-12-14 12:33:03 +03:00
2010-12-29 00:47:05 +01:00
2010-12-14 12:33:03 +03:00
2010-11-09 12:45:13 -02:00
2010-12-28 19:57:23 +01:00
2011-05-21 10:43:54 +02:00
2008-11-22 01:10:38 +01:00
2008-11-22 01:10:38 +01:00
2010-07-23 18:15:56 +07:00
2010-03-17 19:15:41 +01:00
2010-12-29 00:47:05 +01:00
2011-05-06 00:46:53 +01:00
2008-07-03 23:41:22 +04:00
2009-04-29 07:59:10 +05:00
2009-12-18 16:44:24 -02:00
2008-01-23 13:26:41 -07:00
2010-06-11 16:52:06 +04:00
2011-05-21 10:43:54 +02:00
2010-12-14 12:33:03 +03:00
2011-01-26 15:30:06 +08:00
2011-01-26 15:30:06 +08:00
2011-05-21 10:43:54 +02:00
2010-01-24 15:03:23 +08:00
2009-01-14 18:50:51 +04:00
2010-12-29 00:47:05 +01:00
2009-11-03 20:45:52 +03:00
2010-12-29 00:47:05 +01:00
2009-06-17 16:56:44 +02:00