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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: imbolk at gmail dot com
New email:
PHP Version: OS:

 

 [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-2020 The PHP Group
All rights reserved.
Last updated: Thu Apr 09 07:01:24 2020 UTC