From:             rimgaudas dot laucius at delfi dot lt
Operating system: linux-windows
PHP version:      5.2.9
PHP Bug Type:     IMAP related
Bug description:  imap_header crash without any response when to: or cc: is 
very long

Description:
------------
failure noticed when "to:" was 14 KB long and another failure noticed when
"cc:" was 34 KB long.


here stacktrace (with php 5.2.8, but 5.2.9 crash as well):
This GDB was configured as "i686-pld-linux"...(no debugging symbols
found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run imaptest.php
Starting program: /usr/bin/php imaptest.php
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1215653088 (LWP 26789)]
[New Thread -1232208976 (LWP 26792)]
[Thread -1232208976 (zombie) exited]
test
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1215653088 (LWP 26789)]
0xb7938afc in memcpy () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb7938afc in memcpy () from /lib/tls/libc.so.6
#1  0xb6ed420f in rfc822_skip_comment () from
/usr/lib/libc-client.so.2006k
#2  0xb6ed4255 in rfc822_skip_comment () from
/usr/lib/libc-client.so.2006k
#3  0xb6ed4c0b in rfc822_output_address () from
/usr/lib/libc-client.so.2006k
#4  0xb6ed497d in rfc822_output_address_list () from
/usr/lib/libc-client.so.2006k
#5  0xb6fac3c2 in zif_imap_mime_header_decode () from
/usr/lib/php/imap.so
#6  0x00000029 in ?? ()
#7  0x00000000 in ?? ()
(gdb) Quit



-- 
Edit bug report at http://bugs.php.net/?id=48258&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=48258&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=48258&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=48258&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=48258&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=48258&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48258&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48258&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48258&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48258&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48258&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48258&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48258&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48258&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48258&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48258&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48258&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48258&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48258&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48258&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48258&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48258&r=mysqlcfg

Reply via email to