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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
31 - 6 = ?
Subscribe to this entry?

 
 [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 05:01:29 2024 UTC