php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77660 Segmentation fault on break 2147483648
Submitted: 2019-02-24 10:47 UTC Modified: 2019-02-25 06:49 UTC
From: imbolk at gmail dot com Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 7.3.2 OS: CentOS Linux release 7.6.1810 (C
Private report: No CVE-ID: None
 [2019-02-24 10:47 UTC] imbolk at gmail dot com
Description:
------------
for(;;) break 2147483648;

Test script:
---------------
for(;;) break 2147483648;

Expected result:
----------------
PHP Fatal error:  Cannot 'break' 2147483648 levels in Command line code on line 1

Actual result:
--------------
Segmentation fault

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-02-25 06:49 UTC] laruence@php.net
-Status: Open +Status: Feedback
 [2019-02-25 07:00 UTC] laruence@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=1c22ace0582fb0a2ec581237fcf1c5b9c41edd04
Log: Fixed bug #77660 (Segmentation fault on break 2147483648)
 [2019-02-25 07:00 UTC] laruence@php.net
-Status: Feedback +Status: Closed
 [2019-02-25 12:03 UTC] nikic@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=1c22ace0582fb0a2ec581237fcf1c5b9c41edd04
Log: Fixed bug #77660 (Segmentation fault on break 2147483648)
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu May 23 09:01:32 2019 UTC