Bug #60345 [NEW]: Stack overflow at bytes variable

From: Date: Mon, 21 Nov 2011 08:35:52 +0000
Subject: Bug #60345 [NEW]: Stack overflow at bytes variable
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-165393@lists.php.net to get a copy of this message
From:             
Operating system: Debian
PHP version:      Irrelevant
Package:          Variables related
Bug Type:         Bug
Bug description:Stack overflow at bytes variable

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
            [...] => ...
        )

)


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60345&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=60345&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=60345&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=60345&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=60345&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60345&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=60345&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=60345&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=60345&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=60345&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=60345&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=60345&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=60345&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=60345&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=60345&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=60345&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=60345&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=60345&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=60345&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=60345&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=60345&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=60345&r=mysqlcfg



Thread (1 message)

  • bjoern dot rossborsky at maryme dot de
« previous php.bugs (#165393) next »