diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-16 16:18:29 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-18 12:55:44 +0200 |
commit | ecd9c42f9e54b53ea6917b2a28ae9e5a2c89c2fe (patch) | |
tree | b2dae281a6d5e8afbca2f0dbd85e1bc8c9fcd35d /ext/imap/php_imap.c | |
parent | c7ceebc42cd6912a7f515f8e6f5b3167bea37881 (diff) | |
download | php-git-ecd9c42f9e54b53ea6917b2a28ae9e5a2c89c2fe.tar.gz |
Fix bug #80107: Handling of large compressed packets
There's two layers of packet splitting going on. First, packets
need to be split into having a payload of exactly 2^24-1 bytes or
being the last packet. If the split packet has size between 2^24-5
and 2^24-1 bytes, the compressed packets also needs to be split,
though the choice of split doesn't matter here. I'm splitting off
the first 8192 bytes, as that's what I observe libmysqlclient to be
doing.
Diffstat (limited to 'ext/imap/php_imap.c')
0 files changed, 0 insertions, 0 deletions