Bug #67396 [NEW]: Stack exhaustion in imap_rfc822_parse_adrlist

From: Date: Sun, 08 Jun 2014 10:36:05 +0000
Subject: Bug #67396 [NEW]: Stack exhaustion in imap_rfc822_parse_adrlist
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186098@lists.php.net to get a copy of this message
From: mikispag at gmail dot com Operating system: Linux PHP version: 5.5.13 Package: IMAP related Bug Type: Bug Bug description:Stack exhaustion in imap_rfc822_parse_adrlist Description: ------------ This is a stack exhaustion in PHP imap_rfc822_parse_adrlist, which calls libc-client rfc822_parse_phrase -> rfc822_parse_word Test script: --------------- <?php imap_rfc822_parse_adrlist(str_repeat("x\n", 200000), "a"); ?> -- Edit bug report at https://bugs.php.net/bug.php?id=67396&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67396&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67396&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67396&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=67396&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=67396&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=67396&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=67396&r=needscript Try newer version: https://bugs.php.net/fix.php?id=67396&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=67396&r=support Expected behavior: https://bugs.php.net/fix.php?id=67396&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=67396&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=67396&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=67396&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67396&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=67396&r=dst IIS Stability: https://bugs.php.net/fix.php?id=67396&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=67396&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=67396&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=67396&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=67396&r=mysqlcfg

« previous php.bugs (#186098) next »