php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57415 Nested switch statement crashes PHP
Submitted: 2006-12-05 09:13 UTC Modified: 2006-12-13 12:34 UTC
From: dpenning at gamona dot de Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5_2 CVS-2006-12-05 OS: Windows XP
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.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dpenning at gamona dot de
New email:
PHP Version: OS:

 

 [2006-12-05 09:13 UTC] dpenning at gamona dot de
Description:
------------
Nested switch statements cause PHP to crash whenever the file is loaded from APC-Cache.

Reproduce code:
---------------
<?php
switch (1) {default: switch (1) {default: break;} }
die('1');
?>

Expected result:
----------------
1

Actual result:
--------------
crash

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-07 04:54 UTC] gopalv82 at yahoo dot com
I tested this with a latest APC+PHP_5_2 build on linux-amd64 - No crash.

I'll see if I can get a windows box sometime in the near future.
 [2006-12-13 12:34 UTC] dpenning at gamona dot de
The bug seems to be fixed in today's windows-build.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 16:01:29 2024 UTC