Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.0.2-rc, 3.0.3
-
Windows 10; Linux
Description
The latest connector J releases seem have a regression that will set the total length of the attributes part to a very big value, in my test, it was set to 0x FD C4 00 0C, which is 201326788 bytes, but actually it was only about 200 bytes in total. Old releases don't suffer from this issue.
It can be easily seen with a Wireshark net capture, which will annotates the login packet as malformed, see the network capture result attached.
I've reproduced that problem.
It would seems it's an error in wireshark mysql packet decoding.
0xfdc40000 => byte 0xfd indicate that length is 3 bytes little endian encoded 0xc40000 = 196
problem is that wireshark use 4 bytes:
0xc400000c => 201326788