From:             ivoras at yahoo dot com
Operating system: FreeBSD
PHP version:      5.1.6
PHP Bug Type:     Scripting Engine problem
Bug description:  Possible memory leak in estrndup()

Description:
------------
PHP compiled with debugging reports memory leaks. It technically really IS
a memory leak in the script code, but should that influence the scripting
engine?

Reproduce code:
---------------
<?php
$f = fopen('aaa', 'w+');
fwrite($f, "bcde\n");
?>


Expected result:
----------------
A working program

Actual result:
--------------
[Tue Oct 10 12:10:55 2006]  Script:  'bla.php'
/usr/ports/lang/php5/work/php-5.1.6/main/main.c(1708) :  Freeing
0x085ACCA4 (26 bytes), script=bla.php
=== Total 1 memory leaks detected ===


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

Reply via email to