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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mail-roboczy-dla-forow at wp dot pl
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 10:01:30 2024 UTC