[php-maint] Bug#497453: libapache2-mod-php5: segfault when setting include_path to concatenation of non-existant ${include_path}

Olivier Berger olivier.berger at int-edu.eu
Mon Sep 1 20:38:28 UTC 2008


Package: libapache2-mod-php5
Version: 5.2.6-3
Severity: normal

If include_path wasn't set already, setting it to some concatenation of ${include_path} causes a segfault.

For instance, if /etc/php5/apache2/php.ini doesn't contain any include_path definition, like is by default :
 ; UNIX: "/path1:/path2"
 ;include_path = ".:/usr/share/php"

then stting the following in for instance /etc/php5/conf.d/zend.ini :
 [Zend]
 include_path = ${include_path} ":/usr/share/php/libzend-framework-php"

leads to segmentation fault.

Uncommenting the default include_path in /etc/php5/apache2/php.ini allows it to work, though.

Hope this helps,

-- System Information:
Debian Release: lenny/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-openvz-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libapache2-mod-php5 depends on:
ii  apache2-mpm-prefork   2.2.9-7            Apache HTTP Server - traditional n
ii  apache2.2-common      2.2.9-7            Apache HTTP Server common files
ii  libbz2-1.0            1.0.5-1            high-quality block-sorting file co
ii  libc6                 2.7-13             GNU C Library: Shared libraries
ii  libcomerr2            1.41.0-3           common error description library
ii  libdb4.6              4.6.21-8           Berkeley v4.6 Database Libraries [
ii  libkrb53              1.6.dfsg.4~beta1-4 MIT Kerberos runtime libraries
ii  libmagic1             4.25-1             File type determination library us
ii  libpcre3              7.6-2.1            Perl 5 Compatible Regular Expressi
ii  libssl0.9.8           0.9.8g-13          SSL shared libraries
ii  libxml2               2.6.32.dfsg-3      GNOME XML library
ii  mime-support          3.44-1             MIME files 'mime.types' & 'mailcap
ii  php5-common           5.2.6-3            Common files for packages built fr
ii  tzdata                2008e-3            time zone and daylight-saving time
ii  ucf                   3.007              Update Configuration File: preserv
ii  zlib1g                1:1.2.3.3.dfsg-12  compression library - runtime

libapache2-mod-php5 recommends no packages.

Versions of packages libapache2-mod-php5 suggests:
ii  php-pear                      5.2.6-3    PEAR - PHP Extension and Applicati

-- no debconf information





More information about the pkg-php-maint mailing list