#47736 [Com]: imap_headerinfo() segfaults with large address lists
| From: | etremblay at kronostechnologies dot com | Date: | Fri, 01 May 2009 18:31:27 +0000 |
| Subject: | #47736 [Com]: imap_headerinfo() segfaults with large address lists | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-136632@lists.php.net to get a copy of this message | ||
ID: 47736
Comment by: etremblay at kronostechnologies dot com
Reported By: etremblay at kronostechnologies dot com
Status: Open
Bug Type: IMAP related
Operating System: *
PHP Version: 5.*, 6CVS (2009-03-31)
Assigned To: pajoye
New Comment:
I still agree with what I said in the last message, but you are right,
it works with imap2007e.
Previous Comments:
------------------------------------------------------------------------
[2009-05-01 17:24:11] etremblay at kronostechnologies dot com
If so, why does it work with php 5.2.6 ? (And before, we are using this
since 2005)
The only thing I can see, is that someone in PHP removed a workaround
for a c-client bug int php 5.2.9??
c-client2007e doesn't seem to be widely distributed. The only place
I've seen it is in a ftp (ftp://ftp.cac.washington.edu/imap/) and it
look like it's packaged with an imap server. I don't like this
solution.
------------------------------------------------------------------------
[2009-05-01 14:29:00] pajoye@php.net
This error is due to a too old cclient version, I should have saw it
earlier (backtrace). Update the c-client to a more recent version (2007e
for example).
------------------------------------------------------------------------
[2009-04-27 23:15:57] pajoye@php.net
We still use some of the risky APIs. Testing again before the commit.
------------------------------------------------------------------------
[2009-03-31 11:49:40] etremblay at kronostechnologies dot com
If you look closely at http://markmail.org/message/ypvowfyqcijit4f5,
it
say that the fixed api functions begin with rfc822_output_*.
In the core dump, we see that the problem is in the function
rfc822_output_address () from /usr/lib/libc-client.so.2007b.
So, the actual problem is not the same.
------------------------------------------------------------------------
[2009-03-31 07:55:38] jani@php.net
This explains the bug:
http://markmail.org/message/ypvowfyqcijit4f5
------------------------------------------------------------------------
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/47736
--
Edit this bug report at http://bugs.php.net/?id=47736&edit=1