Skip to content

_decompress consumes all memory #2

Open
@NMigo

Description

@NMigo

Hi, performing a fastlz_decompresss on a non valid compressed string, the function consumes al memory:

php -a
Interactive shell
php > fastlz_decompress('£RES');

Fatal error: Allowed memory size of 1291845632 bytes exhausted (tried to allocate 3265483334 bytes) in php shell code on line 1

Call Stack:
13.5809 633472 1. {main}() php shell code:0
13.5810 633688 2. fastlz_decompress() php shell code:1

This is tested under Debian Linux 64bits, PHP CLI and the latest version from the repo. Please let us know if you need to re-test. Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions