#27526 [Opn->Bgs]: Loading TiFF file crashes Apache 2.0.48
| From: | iliaa@php.net | Date: | Mon, 08 Mar 2004 17:16:34 +0000 |
| Subject: | #27526 [Opn->Bgs]: Loading TiFF file crashes Apache 2.0.48 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56115@lists.php.net to get a copy of this message | ||
ID: 27526
Updated by: iliaa@php.net
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