diff options
author | Peter Wu <peter@lekensteyn.nl> | 2018-05-30 23:36:07 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-05-31 04:40:14 +0000 |
commit | ff2881808865b68bed20534cb3fcdc6844575063 (patch) | |
tree | 3ff8257cb3c1958ceffe51a414552ddb917a8da2 /epan/dissectors/packet-thread.c | |
parent | d8c19f859341b63bd745c328ae310e91b63c1e0b (diff) |
mysql: fix packet length calculation
Instead of relying on heuristics (single TCP segment contains a whole
MySQL packet) use the compression state from the greeting. This fixes
bad dissection when a single TCP segment contains multiple MySQL packets
with three other bytes at the end.
Tested with the capture from the linked report as well as bug 10342.
Bug: 13754
Change-Id: I9d9573f4705265d78ec3d75a195df70718de77b3
Reviewed-on: https://code.wireshark.org/review/27916
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-thread.c')
0 files changed, 0 insertions, 0 deletions