php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60345 Stack overflow at bytes variable
Submitted: 2011-11-21 08:35 UTC Modified: 2016-03-26 23:54 UTC
From: bjoern dot rossborsky at maryme dot de Assigned:
Status: Open Package: memcached (PECL)
PHP Version: Irrelevant OS: Debian
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-11-21 08:35 UTC] bjoern dot rossborsky at maryme dot de
Description:
------------
---
From manual page: http://www.php.net/memcached.getstats#refsect1-memcached.getstats-description
---


Test script:
---------------
// Example #1 Memcached::getStats() example
// http://www.php.net/manual/en/memcached.getstats.php
<?php
$m = new Memcached();
$m->addServer('localhost', 11211);

print_r($m->getStats());
?>


Expected result:
----------------
Array
(
    [localhost:11211] => Array
        (
            [...] => ...
            [limit_maxbytes] => 67108864 // no stack overflow by 4,294,967,295
            [bytes] => 20345 // int long with stack overflow by 4,294,967,295
            [...] => ...
        )

)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-26 23:54 UTC] nikic@php.net
-Package: Variables related +Package: memcached
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Jun 27 06:01:31 2019 UTC