|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-03-16 18:12 UTC] samantha at tembies dot com
[2015-03-16 19:02 UTC] samantha at tembies dot com
[2015-03-17 17:04 UTC] samantha at tembies dot com
[2020-08-11 14:31 UTC] cmb@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cmb
[2020-08-11 14:31 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 12:00:02 2025 UTC |
Description: ------------ If supplying a row break \n in a key name for get()/getMulti() you will make the PHP thread use 100% CPU until the script times out. Test script: --------------- <?php $memcached = new Memcached(); $memcached->addServer('192.168.0.1', 11211); $memcached->get('finelookingKey'."\n"); ?> OR <?php $memcached = new Memcached(); $memcached->addServer('192.168.0.1', 11211); $memcached_keys = array( 'finelookingKey'."\n" ); $memcached->getMulti($memcached_keys); ?> Expected result: ---------------- Fatal error: Maximum execution time of 30 seconds exceeded in Unknown on line 0