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 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:
43 + 21 = ?
Subscribe to this entry?

 
 [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 23:03:34 2022 UTC