diff options
| author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-04-29 10:28:16 -0300 |
|---|---|---|
| committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-04-29 10:28:16 -0300 |
| commit | 54705ab1762eb305f389d3cf1a16edc88b3361bc (patch) | |
| tree | 1f358d02b093ce9fceb5491c03a5972a53a8e8da /mysql-test/t/overflow.test | |
| parent | 0d5dbb166b1bcd39588268d4148f02c9f58575f8 (diff) | |
| download | mariadb-git-54705ab1762eb305f389d3cf1a16edc88b3361bc.tar.gz | |
Bug#50974: Server keeps receiving big (> max_allowed_packet) packets indefinitely.
The server could be tricked to read packets indefinitely if it
received a packet larger than the maximum size of one packet.
This problem is aggravated by the fact that it can be triggered
before authentication.
The solution is to no skip big packets for non-authenticated
sessions. If a big packet is sent before a session is authen-
ticated, a error is returned and the connection is closed.
include/mysql_com.h:
Add skip flag. Only used in server builds.
sql/net_serv.cc:
Control whether big packets can be skipped.
Diffstat (limited to 'mysql-test/t/overflow.test')
0 files changed, 0 insertions, 0 deletions
