Bug 1344578

Summary: Segmentation fault while header_register_callback
Product: Red Hat Enterprise Linux 7 Reporter: Hisanobu Okuda <hokuda>
Component: phpAssignee: Web Stack Team <webstack-team>
Status: CLOSED ERRATA QA Contact: David Kutálek <dkutalek>
Severity: high Docs Contact:
Priority: urgent    
Version: 7.2CC: dkutalek, dmasirka, isenfeld, jorton, msalle, msugaya, rcollet
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, an incorrect logic in the SAPI header callback routine caused that the callback counter was not incremented. Consequently, when a script included a header callback, it could terminate unexpectedly with a segmentation fault. With this update, the callback counter is properly managed, and scripts with a header callback implementation work as expected.
Story Points: ---
Clone Of:
: 1346758 (view as bug list) Environment:
Last Closed: 2016-11-03 21:04:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 1346758    

Description Hisanobu Okuda 2016-06-10 05:21:37 UTC
Description of problem:
The customer is hitting [1]. Applying the tentative fix [2], the issue was gone.
Please backport the fix.

[1] https://bugs.php.net/bug.php?id=66418
[2] https://github.com/php/php-src/commit/3c3ff434329d2f505b00a79bacfdef95ca96f0d2?diff=split

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

Comment 18 errata-xmlrpc 2016-11-03 21:04:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.