#48619 [Asn]: imap_search() ALL causing segfault

From: Date: Mon, 22 Jun 2009 12:28:55 +0000
Subject: #48619 [Asn]: imap_search() ALL causing segfault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-138634@lists.php.net to get a copy of this message
ID: 48619 Updated by: pajoye@php.net Reported By: andy at webtatic dot com Status: Assigned Bug Type: IMAP related Operating System: CentOS 5.3 i386 PHP Version: 5.2.10 Assigned To: pajoye New Comment: Segfault went away with: http://pastebin.com/m56e61b1b works whether SE_FREE is set or not. Tested with c-client 2007. Previous Comments: ------------------------------------------------------------------------ [2009-06-22 12:01:53] pajoye@php.net I still prefer the final version I was mentioning to avoid confusion in future changes. I will post it here again soon. ------------------------------------------------------------------------ [2009-06-22 09:48:10] oeriksson at mandriva dot com That patch did not help for me. ------------------------------------------------------------------------ [2009-06-20 22:08:38] andy at webtatic dot com oops, should have used | not & :) it prob makes a bit more sense then http://pastebin.com/m33a7819b ------------------------------------------------------------------------ [2009-06-20 21:58:44] andy at webtatic dot com sorry for intruding again, but I thought this patch might be more ideal for the imap_sort, as it'd be hard to compare the flag when its still in its PHP wrapper. http://pastebin.com/m2325a4b4 ------------------------------------------------------------------------ [2009-06-20 21:36:30] andy at webtatic dot com ah right ok. yep, it doesn't really make sense to add in a constant that can only be used (or not used in this case) to create a memory leak. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/48619 -- Edit this bug report at http://bugs.php.net/?id=48619&edit=1

« previous php.bugs (#138634) next »