#31055 [NEW]: per request leak proportional to the full path of the request URI
| From: | kameshj at fastmail dot fm | Date: | Fri, 10 Dec 2004 15:56:29 +0000 |
| Subject: | #31055 [NEW]: per request leak proportional to the full path of the request URI | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-70019@lists.php.net to get a copy of this message | ||
From: kameshj at fastmail dot fm
Operating system: Any Operating System
PHP version: 5.0.2
PHP Bug Type: Apache2 related
Bug description: per request leak proportional to the full path of the request URI
Description:
------------
SG(request_info).path_translated is not getting freed from
php_apache_request_dtor of sapi/apache2filter/sapi_apache2.c
Find the patch at the following location
http://puggy.symonds.net/~kameshj/apache2perrequestmemleak.patch
Reproduce code:
---------------
any web php request to apache2 server.
Expected result:
----------------
No per request leak.
Actual result:
--------------
Leaks proportional to the absolute path of URI requested(path_translated).
--
Edit bug report at http://bugs.php.net/?id=31055&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31055&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31055&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31055&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31055&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31055&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31055&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31055&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31055&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31055&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31055&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31055&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31055&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31055&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31055&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31055&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31055&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31055&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31055&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31055&r=mysqlcfg