ID: 32589 User updated by: svoboda at svoon dot net Reported By: svoboda at svoon dot net Status: Closed Bug Type: IMAP related Operating System: debian PHP Version: 4.3.11 New Comment:
I think this bug is not fixed. I use the came configure command as in php4-STABLE-200412272330, but for example in php4-STABLE-200504071438 and all other snaps I recive only segfault in apache error log running imap_mail_compose() with *charset* value in array. my configure command is: ./configure --prefix=/usr/local/php-4.3.11 --with-apxs=/usr/local/apache/bin/apxs --with-exec-dir --enable-magic-quotes --with-openssl=/usr/local/ssl --enable-bcmath --with-jpeg-dir=/usr/local/jpeg-6b/ --with-tiff-dir --with-curl=/usr/local/curl --enable-dba=shared --with-inifile --enable-dbase --enable-dbx --with-dom --with-dom-xslt --with-dom-exslt --with-gd --with-jpeg-dir=/usr/local/jpeg-6b/ --with-png-dir=/usr/local/libpng --with-xpm-dir=/usr/X11R6/include/ --with-t1lib=/usr/local/t1lib --enable-gd-native-ttf --with-gettext=/usr/local/gettext --with-gmp=/usr/local/gmp --with-iconv=/usr/local/libiconv --with-imap --with-imap-ssl --with-interbase=/usr/local/firebird/ --with-mime-magic=/usr/share/misc/file/magic.mime --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --with-readline --with-regex=php --enable-wddx --with-xmlrpc --enable-xslt --with-xslt-sablot --enable-gd-imgstrttf --enable-calendar --with-config-file-path=/usr/local/apache/conf --enable-ftp --enable-sigchild --enable-mbstring --with-pcre-regex --enable-mbregex --with-mcrypt --with-mhash --with-bz2 --with-zlib=/usr/local/zlib --with-zlib-dir=/usr/local/zlib --enable-memory-limit --with-t1lib=/usr/include/ --with-ttf --enable-exif --with-pear=/usr/local/php4-pear --with-magickwand=/usr/local/ImageMagick --with-freetype-dir=/usr/local/freetype --with-zip Previous Comments: ------------------------------------------------------------------------ [2005-04-05 16:49:22] [EMAIL PROTECTED] This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2005-04-05 14:59:05] svoboda at svoon dot net Description: ------------ when use charset field in part array, fction exit with segmentation fault. Reproduce code: --------------- $m_envelope["To"] = "[EMAIL PROTECTED]"; $m_part1["type"] = TYPEMULTIPART; $m_part1["subtype"] = "mixed"; $m_part2["type"] = TYPETEXT; $m_part2["subtype"] = "plain"; $m_part2["description"] = "text_message"; $m_part2["charset"] = "ISO-8859-2"; $m_part2["contents.data"] = "hello"; $m_body[1] = $m_part1; $m_body[2] = $m_part2; echo nl2br(imap_mail_compose($m_envelope, $m_body)); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32589&edit=1