• MySQL Build Team's avatar
    Backport into build-201006221614-5.1.46sp1 · 74a077b0
    MySQL Build Team authored
    > ------------------------------------------------------------
    > revno: 1810.3987.14
    > revision-id: davi.arnaut@sun.com-20100429132816-ictyul6d75itek22
    > parent: ramil@mysql.com-20100429044232-f0pkyx8fnpszf142
    > committer: Davi Arnaut <Davi.Arnaut@Sun.COM>
    > branch nick: 50974-5.0
    > timestamp: Thu 2010-04-29 10:28:16 -0300
    > message:
    >   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.
    
    > ------------------------------------------------------------
    > revno: 3363 [merge]
    > revision-id: davi.arnaut@sun.com-20100429231819-i3anwzrdasjmezvt
    > parent: davi.arnaut@sun.com-20100401131522-895y8uzvv8ag44gs
    > parent: davi.arnaut@sun.com-20100429132816-ictyul6d75itek22
    > committer: Davi Arnaut <Davi.Arnaut@Sun.COM>
    > branch nick: mysql-5.1-bugteam
    > timestamp: Thu 2010-04-29 20:18:19 -0300
    > message:
    >   Manual merge.
    > ------------------------------------------------------------
    > Use --include-merges or -n0 to see merged revisions.
    74a077b0
net_serv.cc 31.7 KB