memory leak with mcrypt 2.4.5
| From: | Remco Chang | Date: | Thu, 25 Jan 2001 23:22:10 +0000 |
| Subject: | memory leak with mcrypt 2.4.5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36721@lists.php.net to get a copy of this message | ||
i found out that the mcrypt functions/library leak memory (libmcrypt 2.4.5)
with PHP 4.0.2 (on Solaris 2.6) and Apache 1.3.12 (actually, it's Stronghold
3.0).
the function that leaks is mcrypt_generic_init().
the PHP manual states that if you call mcrypt_generic_end (), it will clear
up the buffer and close the library. however, i found out that the function
unfortunately does not dealloc the memory.
if someone could confirm this, i'll submit it into the bugs report.
remco chang
www.bountyquest.com