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 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

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC