php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64961 segfault in imagesetinterpolation
Submitted: 2013-06-03 12:12 UTC Modified: 2013-06-03 12:12 UTC
From: remi@php.net Assigned: remi (profile)
Status: Closed Package: GD related
PHP Version: 5.5.0RC2 OS: GNU/Linux 64bits
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: remi@php.net
New email:
PHP Version: OS:

 

 [2013-06-03 12:12 UTC] remi@php.net
Description:
------------
(gdb) bt
#0  0x0000555555798494 in zend_fetch_resource (passed_id=passed_id@entry=0x7fffffffa448, default_id=default_id@entry=-1, resource_type_name=resource_type_name@entry=
    0x7fffe366d3c0 "Image", found_resource_type=found_resource_type@entry=0x0, num_resource_types=num_resource_types@entry=1)
    at /usr/src/debug/php-5.5.0RC2/Zend/zend_list.c:126
#1  0x00007fffe3664014 in zif_imagesetinterpolation (ht=<optimized out>, return_value=0x7ffff7fb9dc8, return_value_ptr=<optimized out>, this_ptr=<optimized out>, 
    return_value_used=<optimized out>) at /dev/shm/BUILD/php5.5-201305271230/ext/gd/gd.c:5370
#2  0x0000555555777e69 in dtrace_execute_internal (execute_data_ptr=<optimized out>, fci=<optimized out>, return_value_used=<optimized out>)
    at /usr/src/debug/php-5.5.0RC2/Zend/zend_dtrace.c:99
#3  0x00007fffed6caafa in xdebug_execute_internal (current_execute_data=0x7ffff7f7f1a0, fci=0x0, return_value_used=0)
    at /usr/src/debug/php-pecl-xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1551
#4  0x00005555558369f3 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff7f7f1a0) at /usr/src/debug/php-5.5.0RC2/Zend/zend_vm_execute.h:545
#5  0x00005555557f6a98 in execute_ex (execute_data=0x7ffff7f7f1a0) at /usr/src/debug/php-5.5.0RC2/Zend/zend_vm_execute.h:356
#6  0x0000555555777d2d in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php-5.5.0RC2/Zend/zend_dtrace.c:75
#7  0x00007fffed6cb184 in xdebug_execute_ex (execute_data=0x7ffff7f7f1a0) at /usr/src/debug/php-pecl-xdebug-2.2.3/xdebug-2.2.3/xdebug.c:1437
#8  0x0000555555789728 in zend_execute_scripts (type=type@entry=8, retval=retval@entry=0x0, file_count=file_count@entry=3)
    at /usr/src/debug/php-5.5.0RC2/Zend/zend.c:1316
#9  0x00005555557274dc in php_execute_script (primary_file=primary_file@entry=0x7fffffffcbb0) at /usr/src/debug/php-5.5.0RC2/main/main.c:2481
#10 0x000055555583a106 in do_cli (argc=2, argv=0x555555b7c3b0) at /usr/src/debug/php-5.5.0RC2/sapi/cli/php_cli.c:993
#11 0x000055555560f31a in main (argc=2, argv=0x555555b7c3b0) at /usr/src/debug/php-5.5.0RC2/sapi/cli/php_cli.c:1377


enum type are not long ;) so cannot be used as zend_parse_parameters arg.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-03 12:12 UTC] remi@php.net
-Assigned To: +Assigned To: remi
 [2013-06-03 12:17 UTC] remi@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=99ea60c2ddafcbd6daf4af766da51d28e167999b
Log: Fixed Bug #64961 segfault in imagesetinterpolation
 [2013-06-03 12:17 UTC] remi@php.net
-Status: Assigned +Status: Closed
 [2013-11-17 09:31 UTC] laruence@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=99ea60c2ddafcbd6daf4af766da51d28e167999b
Log: Fixed Bug #64961 segfault in imagesetinterpolation
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 23 07:01:29 2024 UTC