]> granicus.if.org Git - php/log
php
11 years agoadd openssl
Stanislav Malyshev [Tue, 13 Aug 2013 07:17:21 +0000 (00:17 -0700)]
add openssl

11 years agoadd mysql settings
Stanislav Malyshev [Tue, 13 Aug 2013 05:57:06 +0000 (22:57 -0700)]
add mysql settings

11 years agoSuppress static analyzer warnings in specialized executor
Anatol Belski [Fri, 23 Aug 2013 15:41:07 +0000 (17:41 +0200)]
Suppress static analyzer warnings in specialized executor

As things like if(0) will be removed by the compiler, no need
to see that tons of warnings with static analyzer enabled.

11 years agoUpdate NEWS
Christopher Jones [Fri, 23 Aug 2013 15:18:33 +0000 (08:18 -0700)]
Update NEWS

11 years agoensure the test doesn't fail because of tz warning
Anatol Belski [Fri, 23 Aug 2013 14:40:28 +0000 (16:40 +0200)]
ensure the test doesn't fail because of tz warning

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Nikita Popov [Fri, 23 Aug 2013 11:28:59 +0000 (13:28 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoRemove duplicate calls to set filename & lineno for the DTRACE_FUNCTION_ENTRY/RETURN...
Christopher Jones [Tue, 20 Aug 2013 23:32:53 +0000 (16:32 -0700)]
Remove duplicate calls to set filename & lineno for the DTRACE_FUNCTION_ENTRY/RETURN cases

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Christopher Jones [Thu, 22 Aug 2013 16:06:43 +0000 (09:06 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"
  Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type""

11 years agoSuppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualif...
Christopher Jones [Thu, 22 Aug 2013 16:05:52 +0000 (09:05 -0700)]
Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"

11 years agoRevert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discard...
Christopher Jones [Thu, 22 Aug 2013 15:58:35 +0000 (08:58 -0700)]
Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type""

This reverts commit f38bd22ed2c5f710f72e719d7ab2a41ce30541fc.

11 years agoRevert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discard...
Christopher Jones [Thu, 22 Aug 2013 15:58:24 +0000 (08:58 -0700)]
Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type""

This reverts commit f38bd22ed2c5f710f72e719d7ab2a41ce30541fc.

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Matteo Beccati [Thu, 22 Aug 2013 13:34:11 +0000 (15:34 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed other compiler warnings

11 years agoFixed other compiler warnings
Matteo Beccati [Thu, 22 Aug 2013 13:33:12 +0000 (15:33 +0200)]
Fixed other compiler warnings

11 years agoApply pgsql notice test fixes to PHP-5.5
Nikita Popov [Thu, 22 Aug 2013 12:02:55 +0000 (14:02 +0200)]
Apply pgsql notice test fixes to PHP-5.5

11 years agoFix intl build
Nikita Popov [Thu, 22 Aug 2013 09:46:51 +0000 (11:46 +0200)]
Fix intl build

Turns out that you can't use implicit void pointer casts if intl
is compiled.

11 years agoFix bug #46311: Pointer aliasing issue results in miscompile on gcc4.4
Nikita Popov [Thu, 22 Aug 2013 08:56:50 +0000 (10:56 +0200)]
Fix bug #46311: Pointer aliasing issue results in miscompile on gcc4.4

The code violated the strict aliasing restriction, because it
dereferenced the same pointer as zval** once and as void**
afterwards. Now both occurances dereference void** and cast to
zval* in the former case.

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Christopher Jones [Wed, 21 Aug 2013 22:43:19 +0000 (15:43 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Suppress compiler warning "warning: variable ‘length’ set but not used [-Wunused-but-set-variable]"
  Suppress compiler warning "warning: variable ‘retcount’ set but not used [-Wunused-but-set-variable]"

11 years agoSuppress compiler warning "warning: variable ‘length’ set but not used [-Wunused...
Christopher Jones [Wed, 21 Aug 2013 22:39:14 +0000 (15:39 -0700)]
Suppress compiler warning "warning: variable ‘length’ set but not used [-Wunused-but-set-variable]"

11 years agoSuppress compiler warning "warning: variable ‘retcount’ set but not used [-Wunused...
Christopher Jones [Wed, 21 Aug 2013 22:37:02 +0000 (15:37 -0700)]
Suppress compiler warning "warning: variable ‘retcount’ set but not used [-Wunused-but-set-variable]"

11 years agoMerge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
Christopher Jones [Wed, 21 Aug 2013 22:23:48 +0000 (15:23 -0700)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5

* 'PHP-5.5' of https://git.php.net/repository/php-src:
  Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"

11 years agoMerge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
Christopher Jones [Wed, 21 Aug 2013 22:23:48 +0000 (15:23 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4

* 'PHP-5.4' of https://git.php.net/repository/php-src:
  Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Christopher Jones [Wed, 21 Aug 2013 22:07:03 +0000 (15:07 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"

11 years agoSuppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualif...
Christopher Jones [Wed, 21 Aug 2013 22:06:23 +0000 (15:06 -0700)]
Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"

11 years agoReduce compilation noise during normal compilation:
Christopher Jones [Wed, 21 Aug 2013 17:34:09 +0000 (10:34 -0700)]
Reduce compilation noise during normal compilation:
    php-5.5/ext/session/session.c:836: warning: unused variable ‘struc’
    php-5.5/ext/session/session.c:836: warning: unused variable ‘num_key’
    php-5.5/ext/session/session.c:836: warning: unused variable ‘key_length’
    php-5.5/ext/session/session.c:836: warning: unused variable ‘key’
    php-5.5/ext/session/session.c:835: warning: unused variable ‘key_type’
    php-5.5/ext/session/session.c:834: warning: unused variable ‘_ht’
    php-5.5/ext/session/session.c:857: warning: unused variable ‘has_value’
    php-5.5/ext/session/session.c:856: warning: unused variable ‘namelen’
    php-5.5/ext/session/session.c:853: warning: unused variable ‘name’
    php-5.5/ext/session/session.c:852: warning: unused variable ‘p’

    php-5.5/ext/session/mod_user.c:191: warning: unused variable ‘ret’

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Michael Wallner [Wed, 21 Aug 2013 17:18:11 +0000 (19:18 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix pointer sign warning showing up in EVERY build

11 years agoFix pointer sign warning showing up in EVERY build
Michael Wallner [Wed, 21 Aug 2013 17:17:22 +0000 (19:17 +0200)]
Fix pointer sign warning showing up in EVERY build

11 years agoFix return types of password API helper functions.
Anthony Ferrara [Wed, 21 Aug 2013 16:10:40 +0000 (12:10 -0400)]
Fix return types of password API helper functions.

This fixes issues that were found during static analysis by cjones where failure was impossible to detect due to return type mangling (casting an int to a char, then comparing to an int).

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Matteo Beccati [Wed, 21 Aug 2013 09:24:27 +0000 (11:24 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed compiler warnings in ext/pgsql
  Fixed other compiler warnings in PDO_PGSQL
  Fixed compiler warning

11 years agoFixed compiler warnings in ext/pgsql
Matteo Beccati [Wed, 21 Aug 2013 09:21:43 +0000 (11:21 +0200)]
Fixed compiler warnings in ext/pgsql

11 years agoFixed other compiler warnings in PDO_PGSQL
Matteo Beccati [Wed, 21 Aug 2013 09:08:16 +0000 (11:08 +0200)]
Fixed other compiler warnings in PDO_PGSQL

11 years agoFixed compiler warning
Matteo Beccati [Wed, 21 Aug 2013 09:00:31 +0000 (11:00 +0200)]
Fixed compiler warning

I moved the constant to the enum in order to avoid this:
ext/pgsql/pgsql.c:3491: warning: comparison is always false due to limited range of data type

Works in gcc 4.6, but I'm not sure about other compilers.

11 years agoUpdate NEWS
Yasuo Ohgaki [Wed, 21 Aug 2013 02:19:06 +0000 (11:19 +0900)]
Update NEWS

11 years agoAdd php_serialize session.serialize_handler. This patch closes
Yasuo Ohgaki [Wed, 21 Aug 2013 01:51:51 +0000 (10:51 +0900)]
Add php_serialize session.serialize_handler. This patch closes

  Request #25630
  Request #43980
  Request #54383
  Bug #65359

and many others similar to these that are closed as "wont fix" or
"not a bug".

Current serializers have limitations due to register_globals support
that are no longer supported. Changing existing serializer may cause
compatibility issue. Therefore, new handler is needed to remove
needless limitations.

php_serialize does not have special characters and allow numerical
index in $_SESSION. $_SESSION can be used as ordinary array.

11 years agoUpdate NEWS
Yasuo Ohgaki [Wed, 21 Aug 2013 01:38:59 +0000 (10:38 +0900)]
Update NEWS

11 years agoFixed Bug #65475
Yasuo Ohgaki [Tue, 20 Aug 2013 23:08:55 +0000 (08:08 +0900)]
Fixed Bug #65475

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Christopher Jones [Tue, 20 Aug 2013 20:37:02 +0000 (13:37 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Quash compile warning "warning: 'flags' may be used uninitialized in this function"

11 years agoQuash compile warning "warning: 'flags' may be used uninitialized in this function"
Christopher Jones [Tue, 20 Aug 2013 20:36:18 +0000 (13:36 -0700)]
Quash compile warning "warning: 'flags' may be used uninitialized in this function"

11 years agoMerge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
Christopher Jones [Tue, 20 Aug 2013 18:26:57 +0000 (11:26 -0700)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5

* 'PHP-5.5' of https://git.php.net/repository/php-src:
  Fix bug #64953 (Postgres prepared statement positional parameter casting)

11 years agoMerge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
Christopher Jones [Tue, 20 Aug 2013 18:26:49 +0000 (11:26 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4

* 'PHP-5.4' of https://git.php.net/repository/php-src:
  Fix bug #64953 (Postgres prepared statement positional parameter casting)

11 years agoRemove compilation warning "warning: no newline at end of file"
Christopher Jones [Tue, 20 Aug 2013 18:04:26 +0000 (11:04 -0700)]
Remove compilation warning "warning: no newline at end of file"

11 years agoRemove compilation warnings: "warning: no newline at end of file"
Christopher Jones [Tue, 20 Aug 2013 18:01:20 +0000 (11:01 -0700)]
Remove compilation warnings: "warning: no newline at end of file"

11 years agoFix compile warning "intl_cppshims.h:34:7: warning: no newline at end of file"
Christopher Jones [Tue, 20 Aug 2013 17:55:10 +0000 (10:55 -0700)]
Fix compile warning "intl_cppshims.h:34:7: warning: no newline at end of file"

11 years agoTabify
Christopher Jones [Tue, 20 Aug 2013 17:44:20 +0000 (10:44 -0700)]
Tabify

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Christopher Jones [Tue, 20 Aug 2013 17:42:20 +0000 (10:42 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Eliminate compiler warnings: "warning: pointer targets in initialization differ in signedness"
  Eliminate compiler warnings "warning: pointer targets in initialization differ in signedness"

11 years agoEliminate compiler warnings: "warning: pointer targets in initialization differ in...
Christopher Jones [Tue, 20 Aug 2013 17:41:29 +0000 (10:41 -0700)]
Eliminate compiler warnings: "warning: pointer targets in initialization differ in signedness"

11 years agoEliminate compiler warnings "warning: pointer targets in initialization differ in...
Christopher Jones [Tue, 20 Aug 2013 17:41:01 +0000 (10:41 -0700)]
Eliminate compiler warnings "warning: pointer targets in initialization differ in signedness"

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Christopher Jones [Tue, 20 Aug 2013 17:34:13 +0000 (10:34 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Remove some compilation warnings:   'unused variable' and   'enumeration value not handled in switch'

11 years agoRemove some compilation warnings:
Christopher Jones [Tue, 20 Aug 2013 17:33:00 +0000 (10:33 -0700)]
Remove some compilation warnings:
  'unused variable' and
  'enumeration value not handled in switch'

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Michael Wallner [Tue, 20 Aug 2013 17:21:53 +0000 (19:21 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix bug #64953 (Postgres prepared statement positional parameter casting)

Conflicts:
ext/pdo/pdo_sql_parser.c

11 years agoFix bug #64953 (Postgres prepared statement positional parameter casting)
Michael Wallner [Tue, 20 Aug 2013 17:19:02 +0000 (19:19 +0200)]
Fix bug #64953 (Postgres prepared statement positional parameter casting)

11 years agoMerge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
Christopher Jones [Tue, 20 Aug 2013 12:40:22 +0000 (05:40 -0700)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5

* 'PHP-5.5' of https://git.php.net/repository/php-src:
  Add session.use_strict_mode description to php.ini-*
  bump version
  Update NEWS

11 years agoMerge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
Christopher Jones [Tue, 20 Aug 2013 12:40:19 +0000 (05:40 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4

* 'PHP-5.4' of https://git.php.net/repository/php-src:
  bump version

11 years agoAdd session.use_strict_mode description to php.ini-*
Yasuo Ohgaki [Tue, 20 Aug 2013 09:30:30 +0000 (18:30 +0900)]
Add session.use_strict_mode description to php.ini-*

11 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Yasuo Ohgaki [Tue, 20 Aug 2013 08:48:24 +0000 (17:48 +0900)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src: (27 commits)
  bump version
  Remove compile warning:    warning: unused variable ‘j’ [-Wunused-variable]
  Remove compile warnings:   warning: variable ‘lastch’ set but not used [-Wunused-but-set-variable]   warning: variable ‘buf’ set but not used [-Wunused-but-set-variable]
  Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
  Remove compile warnings:   variable ‘obj_cnt’ set but not used [-Wunused-but-set-variable]   unused variable ‘last’ [-Wunused-variable]   unused variable ‘j’ [-Wunused-variable]
  Remove compile warning "variable ‘mekeylen’ set but not used"
  Reduce (some more) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
  Update NEWS
  Update NEWS
  fix bug #65481 (shutdown segfault due to serialize)
  Track created curl_slist structs by option so they can be updated in situ.
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
  added new glob() test
  fix using wrong buffer pointer
  Fix bug #65470 Segmentation fault in zend_error() with --enable-dtrace
  Fix for php bug #64802 includes test case
  Use in preg_replace_callback() using variables by reference and test for bug #64979
  https://bugs.php.net/bug.php?id=64979
  add CVE-2011-4718
  ...

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Tue, 20 Aug 2013 06:23:21 +0000 (23:23 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  bump version
  Update NEWS

Conflicts:
configure.in
main/php_version.h

11 years agobump version
Stanislav Malyshev [Tue, 20 Aug 2013 06:19:51 +0000 (23:19 -0700)]
bump version

11 years agoMerge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
Christopher Jones [Tue, 20 Aug 2013 01:26:58 +0000 (18:26 -0700)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5

* 'PHP-5.5' of https://git.php.net/repository/php-src:
  Remove compile warning:    warning: unused variable ‘j’ [-Wunused-variable]
  Remove compile warnings:   warning: variable ‘lastch’ set but not used [-Wunused-but-set-variable]   warning: variable ‘buf’ set but not used [-Wunused-but-set-variable]
  Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
  Remove compile warnings:   variable ‘obj_cnt’ set but not used [-Wunused-but-set-variable]   unused variable ‘last’ [-Wunused-variable]   unused variable ‘j’ [-Wunused-variable]
  Remove compile warning "variable ‘mekeylen’ set but not used"
  Reduce (some more) compile noise of 'unused variable' and 'may be used uninitialized' warnings.

11 years agoRemove compile warning:
Christopher Jones [Tue, 20 Aug 2013 00:58:42 +0000 (17:58 -0700)]
Remove compile warning:
   warning: unused variable ‘j’ [-Wunused-variable]

11 years agoMerge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
Christopher Jones [Tue, 20 Aug 2013 00:55:26 +0000 (17:55 -0700)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5

* 'PHP-5.5' of https://git.php.net/repository/php-src:
  Update NEWS
  fix bug #65481 (shutdown segfault due to serialize)
  Track created curl_slist structs by option so they can be updated in situ.
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').

11 years agoMerge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
Christopher Jones [Tue, 20 Aug 2013 00:55:25 +0000 (17:55 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4

* 'PHP-5.4' of https://git.php.net/repository/php-src:
  Update NEWS
  fix bug #65481 (shutdown segfault due to serialize)
  Track created curl_slist structs by option so they can be updated in situ.
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').

11 years agoRemove compile warnings:
Christopher Jones [Tue, 20 Aug 2013 00:48:46 +0000 (17:48 -0700)]
Remove compile warnings:
  warning: variable ‘lastch’ set but not used [-Wunused-but-set-variable]
  warning: variable ‘buf’ set but not used [-Wunused-but-set-variable]

11 years agoRemove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
Christopher Jones [Tue, 20 Aug 2013 00:46:50 +0000 (17:46 -0700)]
Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]

11 years agoRemove compile warnings:
Christopher Jones [Tue, 20 Aug 2013 00:44:36 +0000 (17:44 -0700)]
Remove compile warnings:
  variable ‘obj_cnt’ set but not used [-Wunused-but-set-variable]
  unused variable ‘last’ [-Wunused-variable]
  unused variable ‘j’ [-Wunused-variable]

11 years agoRemove compile warning "variable ‘mekeylen’ set but not used"
Christopher Jones [Tue, 20 Aug 2013 00:40:15 +0000 (17:40 -0700)]
Remove compile warning "variable ‘mekeylen’ set but not used"

11 years agoReduce (some more) compile noise of 'unused variable' and 'may be used
Christopher Jones [Tue, 20 Aug 2013 00:17:54 +0000 (17:17 -0700)]
Reduce (some more) compile noise of 'unused variable' and 'may be used
uninitialized' warnings.

11 years agoUpdate NEWS
Christopher Jones [Tue, 20 Aug 2013 00:14:38 +0000 (17:14 -0700)]
Update NEWS

11 years agoUpdate NEWS
Christopher Jones [Tue, 20 Aug 2013 00:14:15 +0000 (17:14 -0700)]
Update NEWS

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Michael Wallner [Mon, 19 Aug 2013 22:08:55 +0000 (00:08 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix bug #65481 (shutdown segfault due to serialize)

Conflicts:
ext/standard/var_unserializer.c

11 years agofix bug #65481 (shutdown segfault due to serialize)
Michael Wallner [Mon, 29 Jul 2013 15:59:35 +0000 (17:59 +0200)]
fix bug #65481 (shutdown segfault due to serialize)

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Adam Harvey [Mon, 19 Aug 2013 19:16:36 +0000 (12:16 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Track created curl_slist structs by option so they can be updated in situ.

Conflicts:
ext/curl/interface.c

11 years agoTrack created curl_slist structs by option so they can be updated in situ.
Adam Harvey [Mon, 19 Aug 2013 18:58:57 +0000 (11:58 -0700)]
Track created curl_slist structs by option so they can be updated in situ.

At present, when curl_setopt() is called with an option that requires the
creation of a curl_slist, we simply push the new curl_slist onto a list to be
freed when the curl handle is freed. This avoids a memory leak, but means that
repeated calls to curl_setopt() on the same handle with the same option wastes
previously allocated memory on curl_slist structs that will no longer be read.

This commit changes the zend_llist that was previously used to track the lists
to a HashTable keyed by the option number, which means that we can simply
update the hash table each time curl_setopt() is called.

Fixes bug #65458 (curl memory leak).

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 19 Aug 2013 18:19:11 +0000 (11:19 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').

11 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Stanislav Malyshev [Mon, 19 Aug 2013 18:18:57 +0000 (11:18 -0700)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src:
  added new glob() test

11 years agoFixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
Xinchen Hui [Mon, 25 Mar 2013 15:48:21 +0000 (23:48 +0800)]
Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').

11 years agoMerge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
Christopher Jones [Mon, 19 Aug 2013 17:53:47 +0000 (10:53 -0700)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5

* 'PHP-5.5' of https://git.php.net/repository/php-src:
  added new glob() test
  fix using wrong buffer pointer
  Fix bug #65470 Segmentation fault in zend_error() with --enable-dtrace
  Fix for php bug #64802 includes test case
  Use in preg_replace_callback() using variables by reference and test for bug #64979
  https://bugs.php.net/bug.php?id=64979
  add CVE-2011-4718
  new for fix #65225
  Fixed #65225: PHP_BINARY incorrectly set
  Use pkg-config to detect iodbc
  Add -P option to use the current binary
  Create test to the extension xmlrpc
  Fixbug: phpize --clean will delete include/*.h
  code related typo fixes

11 years agoMerge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
Christopher Jones [Mon, 19 Aug 2013 17:53:41 +0000 (10:53 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4

* 'PHP-5.4' of https://git.php.net/repository/php-src:
  added new glob() test
  fix using wrong buffer pointer
  Fix bug #65470 Segmentation fault in zend_error() with --enable-dtrace
  Fix for php bug #64802 includes test case
  new for fix #65225
  Fixed #65225: PHP_BINARY incorrectly set
  Use pkg-config to detect iodbc
  Add -P option to use the current binary
  Create test to the extension xmlrpc
  Fixbug: phpize --clean will delete include/*.h

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 19 Aug 2013 17:53:08 +0000 (10:53 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').

11 years agoFixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
Xinchen Hui [Mon, 25 Mar 2013 15:48:21 +0000 (23:48 +0800)]
Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Mon, 19 Aug 2013 09:19:42 +0000 (11:19 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  added new glob() test

11 years agoadded new glob() test
Anatol Belski [Mon, 19 Aug 2013 09:17:13 +0000 (11:17 +0200)]
added new glob() test

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 19 Aug 2013 08:04:19 +0000 (01:04 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix using wrong buffer pointer

11 years agoMerge branch 'PHP-5.3' into PHP-5.4
Stanislav Malyshev [Mon, 19 Aug 2013 08:03:18 +0000 (01:03 -0700)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  fix using wrong buffer pointer

11 years agofix using wrong buffer pointer
Stanislav Malyshev [Mon, 19 Aug 2013 08:02:12 +0000 (01:02 -0700)]
fix using wrong buffer pointer

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 19 Aug 2013 00:22:50 +0000 (17:22 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix bug #65470 Segmentation fault in zend_error() with --enable-dtrace

11 years agoFix bug #65470 Segmentation fault in zend_error() with --enable-dtrace
Stanislav Malyshev [Mon, 19 Aug 2013 00:20:56 +0000 (17:20 -0700)]
Fix bug #65470 Segmentation fault in zend_error() with --enable-dtrace

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Sun, 18 Aug 2013 22:44:40 +0000 (15:44 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix for php bug #64802 includes test case

Conflicts:
ext/openssl/openssl.c

11 years agoFix for php bug #64802 includes test case
Mark Jones [Wed, 14 Aug 2013 17:26:45 +0000 (11:26 -0600)]
Fix for php bug #64802 includes test case

11 years agoUse in preg_replace_callback() using variables by reference and test for bug #64979
Marcel Araujo [Sat, 22 Jun 2013 02:08:15 +0000 (23:08 -0300)]
Use in preg_replace_callback() using variables by reference and test for bug #64979

11 years agohttps://bugs.php.net/bug.php?id=64979
Marcel Araujo [Fri, 21 Jun 2013 21:25:51 +0000 (18:25 -0300)]
https://bugs.php.net/bug.php?id=64979

11 years agoadd CVE-2011-4718
Stanislav Malyshev [Sun, 18 Aug 2013 21:42:06 +0000 (14:42 -0700)]
add CVE-2011-4718

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Sun, 18 Aug 2013 21:20:38 +0000 (14:20 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  new for fix #65225
  Fixed #65225: PHP_BINARY incorrectly set

11 years agonew for fix #65225
Stanislav Malyshev [Sun, 18 Aug 2013 21:20:17 +0000 (14:20 -0700)]
new for fix #65225

11 years agoFixed #65225: PHP_BINARY incorrectly set
Patrick Allaert [Tue, 9 Jul 2013 13:05:10 +0000 (15:05 +0200)]
Fixed #65225: PHP_BINARY incorrectly set

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Sun, 18 Aug 2013 21:16:24 +0000 (14:16 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Use pkg-config to detect iodbc

11 years agoUse pkg-config to detect iodbc
Ole Markus With [Sat, 17 Aug 2013 12:22:11 +0000 (14:22 +0200)]
Use pkg-config to detect iodbc

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Sun, 18 Aug 2013 21:09:19 +0000 (14:09 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Add -P option to use the current binary
  Create test to the extension xmlrpc

11 years agoAdd -P option to use the current binary
Stanislav Malyshev [Sun, 18 Aug 2013 21:08:03 +0000 (14:08 -0700)]
Add -P option to use the current binary

11 years agoCreate test to the extension xmlrpc
root [Sun, 18 Aug 2013 18:44:52 +0000 (18:44 +0000)]
Create test to the extension xmlrpc

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Sun, 18 Aug 2013 20:52:38 +0000 (13:52 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixbug: phpize --clean will delete include/*.h

11 years agoFixbug: phpize --clean will delete include/*.h
Tianfeng [Mon, 12 Aug 2013 05:55:23 +0000 (13:55 +0800)]
Fixbug: phpize --clean will delete include/*.h