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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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 02:01:28 2024 UTC