ID:               27526
 Updated by:       [EMAIL PROTECTED]
 Reported By:      techtonik at tut dot by
-Status:           Open
+Status:           Bogus
 Bug Type:         *PDF functions
 Operating System: Windows 2000
 PHP Version:      4.3.5RC3
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

This is a bug in the old libpdf libraries, upgrade your 

library to the latest stable libpdf library avaliable and 

the bug will go away. 


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

[2004-03-08 09:10:42] techtonik at tut dot by

Description:
------------
pdf_open_image_file() crashes Apache while attempting to load TiFF
file.

Reproduce code:
---------------
<?php



$pdf = pdf_new();

pdf_open_file($pdf);

pdf_begin_page($pdf, 200, 200);



//this function crashes

$pdfimage = pdf_open_image_file($pdf, "tiff", "test.tif");

//pdf_place_image($pdf, $pdfimage, 10, 10, 0.6);

//pdf_close_image($pdf, $pdfimage);



//close it up

pdf_end_page($pdf);

pdf_close($pdf);

$data = pdf_get_buffer($pdf);



?>



Actual result:
--------------
Start of function trace

    0.0021          0     -> pdf_new()
C:\MyFiles.XFiles\Numerald\test18.php:5

    0.0025          0     -> pdf_open_file(resource(2) of type (pdf
object)) C:\wwwroot\test18.php:6

    0.0029          0     -> pdf_begin_page(resource(2) of type (pdf
object), 200, 200) C:\wwwroot\Numerald\test18.php:11

    0.0040          0     -> pdf_open_image_file(resource(2) of type
(pdf object), 'tiff', 'test.tif') C:\wwwroot\Numerald\test18.php:14




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


-- 
Edit this bug report at http://bugs.php.net/?id=27526&edit=1

Reply via email to