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: 2020-11-08 04:22 UTC
From: bjoern dot rossborsky at maryme dot de Assigned: cmb (profile)
Status: No Feedback Package: memcached (PECL)
PHP Version: Irrelevant OS: Debian
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bjoern dot rossborsky at maryme dot de
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-26 23:54 UTC] nikic@php.net
-Package: Variables related +Package: memcached
 [2020-10-29 17:30 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-10-29 17:30 UTC] cmb@php.net
I don't understand what this bug report is about.  Is it about an
*integer* overflow when it says "stack overflow"?  When would that
happen?  Would that be still an issue with latest memcached with
any of the actively supported PHP versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2020-11-08 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC