summaryrefslogtreecommitdiff
path: root/ext/imap/php_imap.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-09-16 16:18:29 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-09-18 12:55:44 +0200
commitecd9c42f9e54b53ea6917b2a28ae9e5a2c89c2fe (patch)
treeb2dae281a6d5e8afbca2f0dbd85e1bc8c9fcd35d /ext/imap/php_imap.c
parentc7ceebc42cd6912a7f515f8e6f5b3167bea37881 (diff)
downloadphp-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