[PHP-DEV] PHP 4.0 Bug #8341 Updated: pdf_open_image_file no longer works From: hirokawa <email protected>
Date: 12/26/00

ID: 8341
Updated by: hirokawa
Reported By: pete <email protected>
Status: Open
Bug Type: PDF related
Assigned To:
Comments:

In php-4.0.4, virtual_filepath() function is used in pdf_open_image_*.
This function calls virtual_filepath_ex() function
in TSRM/tsrm_virtual_cdw.c.
In virtual_filepath_ex(), (char *) CWDG(cwd)->cwd
is used as the source of current working directory,
but it is now properly initialized,
so it will cause the segmentation fault.

 

Previous Comments:
---------------------------------------------------------------------------

[2000-12-21 11:33:18] pete <email protected>
Adding --with-png-dir to configuration does not solve the problem.

---------------------------------------------------------------------------

[2000-12-20 18:33:27] sniper <email protected>
Adding --with-png-dir to your configure line might help.

--Jani

---------------------------------------------------------------------------

[2000-12-20 13:42:10] pete <email protected>
After upgrading PHP from 4.0.3pl1 to 4.0.4 (Apache DSO), calls to pdf_open_image_file to open a PNG image no longer seem to work. This is my configure script:

./configure --with-apxs=/usr/sbin/apxs
--with-gettext=no
--with-msql
--with-pgsql=shared
--without-mysql
--with-xml=shared
--with-pdflib=/usr/local
--without-gd
--with-session=/tmp
--enable-track-vars=yes
--with-zlib
--with-jpeg-dir=/usr
--with-tiff-dir=/usr
--enable-trans-sid

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=8341

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>