Commit Graph
40019 Commits
Author SHA1 Message Date
Xinchen Hui d5113bfa96 Merge branch 'patch-1' of https://github.com/asgrim/php-src 2015-11-07 22:58:30 -08:00
Nikita Popov 83b1679b6f Merge branch 'PHP-7.0'
Conflicts:
	ext/opcache/Optimizer/zend_optimizer.c
2015-11-07 17:50:39 +01:00
Nikita Popov bc3512c1d6 Fix various update_opN_const issues 2015-11-07 17:45:26 +01:00
Nikita Popov 9da456655c Refactor update_op2_const
Combines both switches into one, to avoid having to maintain the same
opcode list twice. This also makes most of the bugs fixed by the next
commit pretty obvious.

No functional change here.
2015-11-07 17:31:09 +01:00
Xinchen Hui aff639faec Merge branch 'PHP-7.0' 2015-11-07 07:43:29 -08:00
Xinchen Hui de8bfb32bd Use defined macro 2015-11-07 07:43:18 -08:00
Xinchen Hui f18f71740f Merge branch 'PHP-7.0' 2015-11-07 07:30:42 -08:00
Xinchen Hui e9fd8ad446 Fixed bug #70876 (Segmentation fault when regenerating session id with strict mode) 2015-11-07 07:30:31 -08:00
Xinchen Hui 148bb622fa Revert "Fixed bug #70876 Segmentation fault when regenerating session id with strict mode"
This reverts commit 0bf3ebb4ba.
2015-11-07 07:17:43 -08:00
Reeze Xia 568c81809a Merge branch 'PHP-7.0'
* PHP-7.0:
  C99 complain fix
  Update NEWS
  Fixed bug #70876 Segmentation fault when regenerating session id with strict mode
2015-11-07 22:17:10 +08:00
Reeze Xia c524f43e4f C99 complain fix 2015-11-07 22:15:19 +08:00
Reeze Xia 0bf3ebb4ba Fixed bug #70876 Segmentation fault when regenerating session id with strict mode
The comment *mod_data always be non-NULL is not true.
The same as this FIXME: https://github.com/php/php-src/blob/master/ext/session/mod_files.c#L676
2015-11-07 21:46:21 +08:00
Nikita Popov 603c172269 Merge branch 'PHP-7.0'
Conflicts:
	ext/opcache/Optimizer/zend_optimizer.c
2015-11-07 12:09:20 +01:00
Nikita Popov 99d818f1e9 Don't propagate into ops that error on non-string
To properly support this make update_opN_const fallible -- they
are not always called through replace_with_const.
2015-11-07 12:04:51 +01:00
Nikita Popov 00b37e718d Strip leading backslash in update_opN_const 2015-11-07 12:04:51 +01:00
Nikita Popov 632bee4abb Fix update_opX_const lowercasing
It was lowering in-place.
2015-11-07 12:04:51 +01:00
Matteo Beccati 050c5e8940 Merge branch 'PHP-7.0'
* PHP-7.0:
  Fix bug #70875 Segmentation fault if wsdl has no targetNamespace attribute
  Always remember NEWS....
  Fix compile warnings about comparison of unsigned expression always being true
  Bump OCI8 version
  Fix bug 68298 (PHP OCI8 OCI int overflow) (Senthil)
2015-11-07 11:06:10 +01:00
Matteo Beccati c263dcee2f Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
  Fix bug #70875 Segmentation fault if wsdl has no targetNamespace attribute
2015-11-07 11:05:36 +01:00
Matteo Beccati fd61666d96 Fix bug #70875 Segmentation fault if wsdl has no targetNamespace attribute 2015-11-07 11:00:33 +01:00
Anatol Belski 655e266440 Merge branch 'PHP-7.0'
* PHP-7.0:
  update NEWS
  fix decrement_function regarding bug #70863
  Fixed bug #70863 Incorect logic to increment_function for proxy objects
  no more dev ZEND_VERSION
  Add support for IPV6_V6ONLY on sockets

Conflicts:
	Zend/zend.h
2015-11-06 23:10:40 +01:00
Bob Weinand 855bb36fd0 Add support for IPV6_V6ONLY on sockets 2015-11-06 21:45:31 +01:00
Christopher Jones 69613a7ac3 Merge branch 'PHP-7.0' 2015-11-07 02:25:18 +11:00
Christopher Jones 049325ca96 Fix bug 68298 (PHP OCI8 OCI int overflow) (Senthil) 2015-11-07 02:24:17 +11:00
Christopher Jones a57b205383 Fix compile warnings about comparison of unsigned expression always being true 2015-11-07 02:14:18 +11:00
Christopher Jones f88a9a9643 Bump OCI8 version 2015-11-07 02:10:57 +11:00
Christopher Jones 3060dfd92e Fix bug 68298 (PHP OCI8 OCI int overflow) (Senthil) 2015-11-07 01:56:50 +11:00
Xinchen Hui 48364afecb Merge branch 'PHP-7.0'
Conflicts:
	NEWS
2015-11-06 11:38:59 +08:00
Xinchen Hui 27aef97f65 Fixed bug #70868 (PCRE JIT and pattern reuse segfault) 2015-11-06 11:37:17 +08:00
Anatol Belski 6b8c9c5945 Merge branch 'PHP-7.0'
* PHP-7.0:
  use Z* macro name
2015-11-05 22:44:38 +01:00
Anatol Belski 01c844a01d use Z* macro name 2015-11-05 22:39:10 +01:00
Anatol Belski 622529c34e Merge branch 'PHP-7.0'
* PHP-7.0:
  fix NULL deref in mbstring post handler
  fix NULL deref in pdo_firebird
2015-11-05 22:25:56 +01:00
Anatol Belski 2283551cfa fix NULL deref in mbstring post handler 2015-11-05 22:24:47 +01:00
Anatol Belski c1f893d894 fix NULL deref in pdo_firebird
ref #70862
2015-11-05 22:11:00 +01:00
Anatol Belski 1bd3cc298b Merge branch 'PHP-7.0'
* PHP-7.0:
  fix pdo_sqlite crash with empty bound stream
  fix leak
2015-11-05 22:06:59 +01:00
Anatol Belski cff9e16a12 fix pdo_sqlite crash with empty bound stream 2015-11-05 21:50:34 +01:00
Anatol Belski 1406f80135 fix leak 2015-11-05 21:49:21 +01:00
Anatol Belski 31c9f8b748 Merge branch 'PHP-7.0'
* PHP-7.0:
  fix pdo_mysql crash with empty bound stream param
2015-11-05 21:34:12 +01:00
Anatol Belski 7b32b8f4e1 fix pdo_mysql crash with empty bound stream param
rel #70862
2015-11-05 21:32:31 +01:00
Anatol Belski e240df1420 Merge branch 'PHP-7.0'
* PHP-7.0:
  add test for bug #70861
  Fix setting of empty string resource.
  fix possible NULL deref in image functions
2015-11-05 19:51:18 +01:00
Anatol Belski 1184f0aca5 add test for bug #70861 2015-11-05 19:48:08 +01:00
Fabian Franz 1fcadf67e6 Fix setting of empty string resource. 2015-11-05 19:47:12 +01:00
Anatol Belski f189353178 fix possible NULL deref in image functions 2015-11-05 18:16:32 +01:00
Anatol Belski ac711075ac Merge branch 'PHP-7.0'
* PHP-7.0:
  fix crash in sqlite when executing with bound stream param
2015-11-05 18:10:14 +01:00
Anatol Belski 5ac288bcc6 fix crash in sqlite when executing with bound stream param
rel #70862
2015-11-05 18:08:08 +01:00
Anatol Belski d756da8e72 Merge branch 'PHP-7.0'
* PHP-7.0:
  re-update NEWS
  update the actual sql parser file for #70861
  Fix bug #70861 Segmentation fault in pdo_parse_params() during Drupal 8 test suite
  don't get invalid chmod mode through
  zero cwd buffer before passing to chmod
2015-11-05 14:49:25 +01:00
Anatol Belski a80545992b update the actual sql parser file for #70861 2015-11-05 14:46:40 +01:00
Anatol Belski 5c96a91d77 Fix bug #70861 Segmentation fault in pdo_parse_params() during Drupal 8 test suite 2015-11-05 14:46:28 +01:00
Reeze Xia f2d39b5738 Merge branch 'PHP-7.0'
* PHP-7.0:
  Make test for bug #70852 to cover all cases
  Fixed bug #70852 Segfault getting NULL offset of an ArrayObject.
2015-11-05 14:30:20 +08:00
Reeze Xia 435565a54f Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
  Make test for bug #70852 to cover all cases
  Fixed bug #70852 Segfault getting NULL offset of an ArrayObject.
2015-11-05 14:28:49 +08:00
Reeze Xia 1c0622a472 Make test for bug #70852 to cover all cases 2015-11-05 14:09:24 +08:00