svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/standard/tests/streams/bug61115-1.phpt
branches/PHP_5_3/ext/standard/tests/streams/bug61115-2.phpt branches/PHP_5_3/ext/standard/tests/streams/bug61371.phpt
branches/PHP_5_3/main/streams/streams.c branches/PHP_5_4/ext/standard/streamsfuncs.c branches/PHP_5_4/ext/standard/tests/streams/bug61115-1.phpt
branches/PHP_5_4/ext/standard/tests/streams/bug61115-2.phpt branches/PHP_5_4/ext/standard/tests/streams/bug61115.phpt branches/PHP_5_4/e
| From: | Gustavo André dos Santos Lopes | Date: | Sat, 17 Mar 2012 19:37:30 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/standard/tests/streams/bug61115-1.phpt branches/PHP_5_3/ext/standard/tests/streams/bug61115-2.phpt branches/PHP_5_3/ext/standard/tests/streams/bug61371.phpt branches/PHP_5_3/main/streams/streams.c branches/PHP_5_4/ext/standard/streamsfuncs.c branches/PHP_5_4/ext/standard/tests/streams/bug61115-1.phpt branches/PHP_5_4/ext/standard/tests/streams/bug61115-2.phpt branches/PHP_5_4/ext/standard/tests/streams/bug61115.phpt branches/PHP_5_4/e |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-67930@lists.php.net to get a copy of this message | ||
cataphract Sat, 17 Mar 2012 19:37:30 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=324324
Log:
- Fixed bug #61371 (resource leak). This bug had two parts, a long standing leak
already fixed in trunk/5.3 and now merged onto 5.4 and a leak introduced in
fixing bug #61115. This better fix for #61115 fixes the leak (the inhibition
for deleting the context was too broad) and so prevents segfaults in new
circumstances (where the inhibition was not broad enough).
Bugs: https://bugs.php.net/61371 (Verified)
stream_context_create() causes memory leaks on use streams_socket_create
https://bugs.php.net/61115 (Assigned) Stream related
segfault on fatal error in php_stream_context_del_link
Changed paths:
U php/php-src/branches/PHP_5_3/NEWS
A + php/php-src/branches/PHP_5_3/ext/standard/tests/streams/bug61115-1.phpt
(from php/php-src/trunk/ext/standard/tests/streams/bug61115.phpt:r324314)
A + php/php-src/branches/PHP_5_3/ext/standard/tests/streams/bug61115-2.phpt
(from php/php-src/trunk/ext/standard/tests/streams/bug61115.phpt:r324314)
A php/php-src/branches/PHP_5_3/ext/standard/tests/streams/bug61371.phpt
U php/php-src/branches/PHP_5_3/main/streams/streams.c
U php/php-src/branches/PHP_5_4/ext/standard/streamsfuncs.c
A + php/php-src/branches/PHP_5_4/ext/standard/tests/streams/bug61115-1.phpt
(from php/php-src/trunk/ext/standard/tests/streams/bug61115.phpt:r324314)
A + php/php-src/branches/PHP_5_4/ext/standard/tests/streams/bug61115-2.phpt
(from php/php-src/trunk/ext/standard/tests/streams/bug61115.phpt:r324314)
A + php/php-src/branches/PHP_5_4/ext/standard/tests/streams/bug61115.phpt
(from php/php-src/trunk/ext/standard/tests/streams/bug61115.phpt:r324314)
A php/php-src/branches/PHP_5_4/ext/standard/tests/streams/bug61371.phpt
U php/php-src/branches/PHP_5_4/main/streams/streams.c
A + php/php-src/trunk/ext/standard/tests/streams/bug61115-1.phpt
(from php/php-src/trunk/ext/standard/tests/streams/bug61115.phpt:r324314)
A + php/php-src/trunk/ext/standard/tests/streams/bug61115-2.phpt
(from php/php-src/trunk/ext/standard/tests/streams/bug61115.phpt:r324314)
A php/php-src/trunk/ext/standard/tests/streams/bug61371.phpt
U php/php-src/trunk/main/streams/streams.c
Attachment: [text/x-diff] svn-diffs-324324.txt
Attachment: [text/x-diff] svn-diffs-324324.txt