Bug #74546 [Opn->Csd]: SIGILL in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER()
| From: | laruence@php.net | Date: | Mon, 08 May 2017 03:33:19 +0000 |
| Subject: | Bug #74546 [Opn->Csd]: SIGILL in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-208990@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74546&edit=1
ID: 74546
Updated by: laruence@php.net
Reported by: brian dot carpenter at gmail dot com
Summary: SIGILL in
ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER()
-Status: Open
+Status: Closed
Type: Bug
Package: Reproducible crash
Operating System: Debian 8 x64
PHP Version: 7.1Git-2017-05-05 (Git)
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=87d56a3d07a337269be2e80b67766b4e94120dd8
Log: Fixed bug #74546 (SIGILL in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER())
Previous Comments:
------------------------------------------------------------------------
[2017-05-05 09:46:29] brian dot carpenter at gmail dot com
Description:
------------
Triggered in commit 1466a0f, compiled with afl-gcc on Debian 8 x64.
Test script:
---------------
https://drive.google.com/file/d/0B3Tl4QiWJUt8dnpucXlpUXlDWWM/view?usp=sharing
Expected result:
----------------
No crash.
Actual result:
--------------
Program received signal SIGILL, Illegal instruction.
0x0000000001eff115 in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER ()
at /home/geeknik/php-src/Zend/zend_vm_execute.h:5721
5721 SAVE_OPLINE();
(gdb) bt
#0 0x0000000001eff115 in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER ()
at /home/geeknik/php-src/Zend/zend_vm_execute.h:5721
#1 0x0000000001ec3903 in execute_ex (ex=<optimized out>)
at /home/geeknik/php-src/Zend/zend_vm_execute.h:429
#2 0x0000000002394d3a in zend_execute (op_array=op_array@entry=0x7ffff2889000,
return_value=return_value@entry=0x0)
at /home/geeknik/php-src/Zend/zend_vm_execute.h:474
#3 0x0000000001c35c5d in zend_execute_scripts (type=type@entry=8,
retval=retval@entry=0x0, file_count=file_count@entry=3)
at /home/geeknik/php-src/Zend/zend.c:1537
#4 0x0000000001946830 in php_execute_script (primary_file=<optimized out>)
at /home/geeknik/php-src/main/main.c:2548
#5 0x00000000023a2c6c in do_cli (argc=-225931263, argv=0x2f678c1 <executor_globals+1>)
at /home/geeknik/php-src/sapi/cli/php_cli.c:997
#6 0x00000000004730c2 in main (argc=-225931263, argv=0x2f2bf40 <cli_sapi_module>)
at /home/geeknik/php-src/sapi/cli/php_cli.c:1390
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74546&edit=1