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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
50 - 11 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 18:01:31 2024 UTC