mirror of https://github.com/php/php-src
Browse Source
When the compression was successful the compressed data + uninitialized data at the end was sent to the server, because the length of the compressed payload wasn't correctly calculated (actually the length of the uncompressed payload as assumed). However, the uncompress() function has internally the length of the real payload and skips the binary trash at the end - thus no data damage occurs!pull/12/head
2 changed files with 6 additions and 4 deletions
Loading…
Reference in new issue