Skip to content

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Sep 3, 2015

According to the comment, it has not been deemed necessary to close compressed
files. However, we don't want to keep unclosed file handles to save ressources.
So we're also closing compressed archives, if they're not aliased.

I'm not 100% sure if the patch is correct, so it would be good if someone could carefully review it.

@laruence laruence added the Bug label Sep 20, 2015
weltling and others added 29 commits November 4, 2016 18:42
Adjusted formatting according to requirements

Test case for bug #73087
* PHP-5.6:
  add missing RETURN_STRINGL_CHECK
FTS3 is already enabled by default, and the other FTS versions
seems just to have been missed. Given that, the other FTS plugins
look like a low impact so worth a try. The current bundled libsqlite
versions in 7.x are proven stable already and support FTS5.
* PHP-5.6:
  Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash
  Fix #72696: imagefilltoborder stackoverflow on truecolor images
  Fix #72482: Ilegal write/read access caused by gdImageAALine overflow
  Fix bug #73144 and bug #73341 - remove extra dtor
  Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle
* phpsec/PHP-7.0.13:
  Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash
  Fix #72696: imagefilltoborder stackoverflow on truecolor images
  Fix #72482: Ilegal write/read access caused by gdImageAALine overflow
  Fix bug #73144 and bug #73341 - remove extra dtor
  remove unreferenced var came in with merge
  Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle
  fix version
  set versions
* PHP-5.6:
  fix memory leak
* PHP-5.6:
  add missing NEWS entry
Fix int overflows in conversation functions for calendar.
Add tests for the overflows.
smalyshev and others added 16 commits January 2, 2017 21:35
* PHP-7.0.15:
  Fix #73832 - leave the table in a safe state if the size is too big.
  Fix bug #73831 - NULL Pointer Dereference while unserialize php object
* pull-request/1905:
   pack()/unpack() for Big Endian float/double and Little Endian float/double
Persistent connections skipped resetting $connect_error and $connect_errno values
This adds the "clear error" line to persistent connections for consistency
some more could be added
* pull-request/1312:
  get_defined_functions extra parameter to exclude disabled functions
  news entry for PR php#1312
* pull-request/2273:
  Update copyright headers to 2017
@krakjoe
Copy link
Member

krakjoe commented Jan 4, 2017

@cmb69 this looks okay to me, although I'm not super familiar with phar ...

Please can you rebase this on a 7 branch (I think 7.0 if @weltling does not object) ... if no objections are forthcoming in the following days, it can be merged by yourself, I consider it a bug fix ... leaving files open is obviously nasty.

nikic and others added 6 commits January 5, 2017 00:24
* pull-request/1256:
  Fix php-fpm.service.in
According to the comment, it has not been deemed necessary to close compressed
files. However, we don't want to keep unclosed file handles to save ressources.
So we're also closing compressed archives, if they're not aliased.
@cmb69
Copy link
Member Author

cmb69 commented Jan 5, 2017

Oops, the rebase & force-push didn't work as intended. Sorry! I'm closing this PR, and going to open another one for PHP-7.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.