php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #610 imap.so crashes server on 64 bit architecture for non empty mailboxes.
Submitted: 1998-08-03 09:03 UTC Modified: 1998-09-13 01:53 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: thomas at fivemile dot org Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.2a OS: Linux/Alpha 2.0.34
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: thomas at fivemile dot org
New email:
PHP Version: OS:

 

 [1998-08-03 09:03 UTC] thomas at fivemile dot org
Script was running IMP Imap Mail System 1.1.0 stock out of archive.

configured with ./configure --with-apache=/root/apache_1.3.0 --with-mod_charset=n --with-gd=no --with-msql --enable-debug=no --enable-track-vars=yes

NO php3.ini files used

[root@stargate src]# gdb httpsd
GNU gdb 4.17
This GDB was configured as "alpha-redhat-linux"...
(gdb) run -X -f/home/httpd/conf/httpd.conf
Starting program: /root/apache_1.3.0/src/httpsd -X -f/home/httpd/conf/httpd.conf
BFD: /lib/libdl.so.2.1: invalid string offset 43552 >= 520 for section `.dynstr'
BFD: /lib/libdl.so.2.1: invalid string offset 41152 >= 520 for section `.dynstr'
BFD: /lib/libdl.so.2.1: invalid string offset 15840 >= 520 for section `.dynstr'
Skip first time initialisation
SSL disabled for server stargate.fivemile.org:80
Reading certificate and key for server stargate.fivemile.org:443

Program received signal SIGSEGV, Segmentation fault.
mail_free_stringlist (string=0x11fffe088) at mail.c:4086
4086        if ((*string)->text.data) fs_give ((void **) &(*string)->text.data);
(gdb) bt
#0  mail_free_stringlist (string=0x11fffe088) at mail.c:4086
#1  0x15556109280 in php3_imap_headerinfo ()
#2  0x12007b548 in phpparse () at control_structures_inline.h:899
#3  0x12003d9c4 in php3_parse (yyin=0x1202b5aa0) at main.c:1428
#4  0x12003dc78 in apache_php3_module_main (r=0x1202a6db0, fd=23, display_source_mode=0, preprocessed=0) at main.c:1826
#5  0x12003a85c in send_php3 ()
#6  0x12003a8fc in send_parsed_php3 ()
#7  0x12008bf58 in ap_invoke_handler ()
#8  0x1200a02b8 in process_request_internal ()
#9  0x1200a0348 in ap_process_request ()
#10 0x1200981f8 in child_main ()
#11 0x1200983f0 in make_child ()
#12 0x1200985bc in startup_children ()
#13 0x120098c9c in standalone_main ()
#14 0x120099444 in main ()
(gdb) q
[root@stargate src]# uname -a
Linux stargate.fivemile.org 2.0.34 #1 Wed Jul 29 20:09:57 CEST 1998 alpha unknown
[root@stargate src]#

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-09-13 01:53 UTC] rasmus
This should be fixed in the current CVS.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 08:01:36 2025 UTC