From:             papile at aps dot org
Operating system: FreeBSD 6
PHP version:      5.2.5
PHP Bug Type:     Apache2 related
Bug description:  Hex output printed on 404 error

Description:
------------
There appears to be some sort of overflow occurring when the header is set
to 'HTTP/1.1 404 Not Found' on apache.  We are using apache 2.24.  When the
print output of the PHP script exceeds 8000 characters, and the header is
set to 'HTTP/1.1 404 Not Found' the character count is printed in hex at
the top of the screen. If the header is set to 'HTTP/1.0 404 Not Found'
this does not occur.

Reproduce code:
---------------
publish.aps.org/test.txt

Expected result:
----------------
8000 0's and 1 x

Actual result:
--------------
1f41 
8000 0's and 1 x
and another 0 at the bottom of the page.


-- 
Edit bug report at http://bugs.php.net/?id=43956&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=43956&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=43956&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=43956&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=43956&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=43956&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=43956&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=43956&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=43956&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=43956&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=43956&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=43956&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=43956&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=43956&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=43956&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=43956&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=43956&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=43956&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=43956&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=43956&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=43956&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=43956&r=mysqlcfg

Reply via email to