|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-10-27 18:47 UTC] iliaa@php.net
[2004-10-28 21:31 UTC] bo at theaddedones dot com
[2005-01-10 01:50 UTC] sniper@php.net
[2005-01-18 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 10:00:01 2025 UTC |
Description: ------------ the general problem was an odd one when using the HORDE-IMP pacakge. For certain messages (those with multi-parts i.e. a 'text' and an 'enriched' type). The attempting to access the message results in a apache SegFault... after 'downgrading' to IMAP-2002e the bug went away. -- my compile bits -- ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-bcmath --enable-calendar --with-curl --with-dom --with-dom-xslt --with-dom-exslt --enable-exif --enable-ftp --with-gd --with-png-dir=/usr --without-xpm --with-gettext --with-imap --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --with-mhash --enable-magic-quotes --with-mysql=/usr --with-openssl --enable-discard-path --with-pear --with-pspell --enable-xslt --with-xslt-sablot --enable-sockets --enable-track-vars --with-ttf --enable-versioning --enable-wddx --with-xmlrpc --with-zip --with-zlib --with-readline --with-iconv --with-openssl --with-freetype-dir=/usr --with-gdbm Reproduce code: --------------- use the Horde-Imp mail program...and attempt to read a message (i.e. like the ones sent from the OSX Mail programm where there are 2 parts a flat text and an enriched) Actual result: -------------- ---- gdb trace --- #0 0x00a0224c in _php_imap_add_body (arg=0x9bcbc5c, body=0x703c2065) at /home/cpapachebuild/buildapache/php-4.3.9/ext/imap/php_imap.c:3817 3817 if (body->type <= TYPEMAX) { (gdb) bt #0 0x00a0224c in _php_imap_add_body (arg=0x9bcbc5c, body=0x703c2065) at /home/cpapachebuild/buildapache/php-4.3.9/ext/imap/php_imap.c:3817 #1 0x00a0268b in _php_imap_add_body (arg=0x9bcbc9c, body=0x9bd06f8) at /home/cpapachebuild/buildapache/php-4.3.9/ext/imap/php_imap.c:3911 #2 0x009facd8 in zif_imap_fetchstructure (ht=3, return_value=0x9bcbc9c, this_ptr=0x0, return_value_used=1) at /home/cpapachebuild/buildapache/php-4.3.9/ext/imap/php_imap.c:1753 #3 0x00f9c892 in get_module () from /usr/local/Zend/lib/Optimizer-2.5.5/php-4.3.x/ZendOptimizer.so