php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #78802 bzdecompress has no $length parameter
Submitted: 2019-11-10 11:03 UTC Modified: -
From: mail-roboczy-dla-forow at wp dot pl Assigned:
Status: Open Package: *General Issues
PHP Version: Next Minor Version OS: All
Private report: No CVE-ID: None
 [2019-11-10 11:03 UTC] mail-roboczy-dla-forow at wp dot pl
Description:
------------
---
From manual page: https://php.net/function.bzdecompress
---

This function should have third optional parameter $length ($maxLength) to stop decompression if $length is exceeded. It should prevent script interruption if the output string is too big (memory limitation).

See gzinflate, gzuncompress.  



Patches

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 10 08:01:27 2024 UTC