php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21106 browser crash from redirect command in function
Submitted: 2002-12-20 03:06 UTC Modified: 2003-04-09 16:55 UTC
From: webber123456 at hotmail dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.2.3 OS: win98/pws/ie5
Private report: No CVE-ID: None
 [2002-12-20 03:06 UTC] webber123456 at hotmail dot com
when using this  code from within a function 
===============
$location='http://'.$_SERVER["HTTP_HOST"].$_SERVER['PHP_SELF'].'?cmd=frm'.$temp.'&msg='.urlencode($return_msg);
header("Location:".$location);
=================

results in the following repeatable crash message from IE5


PHP caused a stack fault in module PHP4TS.DLL at 015f:100b1f96.
Registers:
EAX=00762d90 CS=015f EIP=100b1f96 EFLGS=00010212
EBX=06fcceb0 SS=0167 ESP=00541f54 EBP=06fcd32c
ECX=00792c20 DS=0167 ESI=00761fa0 FS=5a37
EDX=00000007 ES=0167 EDI=00000001 GS=0000
Bytes at CS:EIP:
53 55 56 57 8b bc 24 90 04 00 00 33 db 89 5c 24 
Stack dump:
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 


screen display is

===========
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
===========

--end of screen display--

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-20 03:09 UTC] webber123456 at hotmail dot com
when using this  code from within a function 
===============
$location='http://'.$_SERVER["HTTP_HOST"].$_SERVER['PHP_SELF'].'?cmd=frm
'.$temp.'&msg='.urlencode($return_msg);
header("Location:".$location);
=================

results in the following repeatable crash message from IE5

PHP caused a stack fault in module PHP4TS.DLL at 015f:100b1f96.
Registers:
EAX=00762d90 CS=015f EIP=100b1f96 EFLGS=00010212
EBX=06fcceb0 SS=0167 ESP=00541f54 EBP=06fcd32c
ECX=00792c20 DS=0167 ESI=00761fa0 FS=5a37
EDX=00000007 ES=0167 EDI=00000001 GS=0000
Bytes at CS:EIP:
53 55 56 57 8b bc 24 90 04 00 00 33 db 89 5c 24 
Stack dump:
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

screen display is

===========
CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers. The headers it did return are:
===========

--end of screen display--
 [2002-12-20 03:21 UTC] webber123456 at hotmail dot com
closed
 [2002-12-20 03:38 UTC] webber123456 at hotmail dot com
reopened
 [2002-12-20 03:41 UTC] derick@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2003-01-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2003-04-09 11:27 UTC] jmoore@php.net
Looks like a dup of 9852.

- James
 [2003-04-09 16:55 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

,
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 15:01:33 2024 UTC