|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-10-27 14:26 UTC] rich at tallman dot org
Description:
------------
Any script passing invalid headers will result in a crash of the apache web server when using the apache module version of php 4.3.3 (from the binary zip download)
This particular type of invalid header is commonly used to circumvent other unpredictable strange behaviors with the mail command.
Reproduce code:
---------------
mail("rich@tallman.org","test message","","From: rich@tallman.org\n\nThis is a test message.");
Expected result:
----------------
Apache will crash (usually creating a windows XP error window)
Actual result:
--------------
szAppName : Apache.exe szAppVer : 2.0.47.0 szModName : php4ts.dll
szModVer : 4.3.3.3 offset : 0009defe
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 17:00:02 2025 UTC |
More likely cause! -- Emty message parameter may be the cause of the crash.. the following code does *not* crash apache: mail("rich@tallman.org","test message"," ","From: rich@tallman.org\n\nThis is a test message."); Please note the space in the message field.