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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

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
 [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-2022 The PHP Group
All rights reserved.
Last updated: Fri Jan 28 21:03:34 2022 UTC