]> granicus.if.org Git - php/log
php
8 years agoManual CSE
Dmitry Stogov [Thu, 31 Mar 2016 14:26:27 +0000 (17:26 +0300)]
Manual CSE

8 years agoMerge branch 'PHP-7.0'
Joe Watkins [Thu, 31 Mar 2016 11:51:25 +0000 (12:51 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  remove unused params || woops

8 years agoremove unused params || woops
Joe Watkins [Thu, 31 Mar 2016 11:51:00 +0000 (12:51 +0100)]
remove unused params || woops

8 years agoMerge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
Joe Watkins [Thu, 31 Mar 2016 11:40:15 +0000 (12:40 +0100)]
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0

8 years agoMerge branch 'master' of https://github.com/php/php-src
Joe Watkins [Thu, 31 Mar 2016 11:39:58 +0000 (12:39 +0100)]
Merge branch 'master' of https://github.com/php/php-src

8 years agoMerge branch 'PHP-7.0'
Joe Watkins [Thu, 31 Mar 2016 11:39:45 +0000 (12:39 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix #71609: Segmentation fault on ZTS with gethostbyname

8 years agofix #71609: Segmentation fault on ZTS with gethostbyname
Joe Watkins [Thu, 31 Mar 2016 11:39:01 +0000 (12:39 +0100)]
fix #71609: Segmentation fault on ZTS with gethostbyname

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Wed, 30 Mar 2016 23:38:38 +0000 (01:38 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix borked mainstream patch
  5.5.35 now

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 30 Mar 2016 23:38:22 +0000 (01:38 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix borked mainstream patch
  5.5.35 now

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Wed, 30 Mar 2016 23:36:47 +0000 (01:36 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix borked mainstream patch
  5.5.35 now

8 years agofix borked mainstream patch
Anatol Belski [Wed, 30 Mar 2016 23:33:38 +0000 (01:33 +0200)]
fix borked mainstream patch

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Wed, 30 Mar 2016 23:30:50 +0000 (01:30 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix test to not to cause false positives
  Align NEWS entry format
  Align NEWS entry format

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 30 Mar 2016 23:30:23 +0000 (01:30 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix test to not to cause false positives

8 years agofix test to not to cause false positives
Anatol Belski [Wed, 30 Mar 2016 23:29:05 +0000 (01:29 +0200)]
fix test to not to cause false positives

8 years agoAlign NEWS entry format
Lior Kaplan [Wed, 30 Mar 2016 22:01:11 +0000 (01:01 +0300)]
Align NEWS entry format

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Lior Kaplan [Wed, 30 Mar 2016 21:54:43 +0000 (00:54 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoAlign NEWS entry format
Lior Kaplan [Wed, 30 Mar 2016 21:52:53 +0000 (00:52 +0300)]
Align NEWS entry format

8 years agoMerge branch 'PHP-7.0'
Nikita Popov [Wed, 30 Mar 2016 20:49:36 +0000 (22:49 +0200)]
Merge branch 'PHP-7.0'

8 years agoFix bug #71334
Nikita Popov [Tue, 12 Jan 2016 15:31:58 +0000 (16:31 +0100)]
Fix bug #71334

Always duplicate the array before doing a sort with user-defined
comparison function, to avoid access to the intermediate
inconsistent state.

I've also dropped the "array modification" warning, as protection
against modifications is no longer relevant if we're always working
on a copy anyway.

This also required some changes to how SplArray forwards calls to
sorting functions.

8 years agoMerge branch 'PHP-7.0'
Ferenc Kovacs [Wed, 30 Mar 2016 20:29:32 +0000 (22:29 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 30 Mar 2016 20:29:00 +0000 (22:29 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS

8 years agoupdate NEWS
Ferenc Kovacs [Wed, 30 Mar 2016 20:28:28 +0000 (22:28 +0200)]
update NEWS

8 years agoMerge branch 'PHP-7.0'
Nikita Popov [Wed, 30 Mar 2016 16:32:29 +0000 (18:32 +0200)]
Merge branch 'PHP-7.0'

8 years agoFix __invoke comparison in closure_get_method
Nikita Popov [Wed, 30 Mar 2016 16:31:10 +0000 (18:31 +0200)]
Fix __invoke comparison in closure_get_method

It compared against the wrong variable. Fixed this by getting rid
of lc_name entirely and use equals_literal_ci instead.

8 years agoCorrect error messages
Andrea Faulds [Wed, 30 Mar 2016 15:45:36 +0000 (16:45 +0100)]
Correct error messages

8 years agoFix memory leak
Andrea Faulds [Wed, 30 Mar 2016 13:16:07 +0000 (14:16 +0100)]
Fix memory leak

Leak was introduced in c88ffa9a5673cb3141660626ba1921671f0b84d6.

8 years agoFix two tests on 32-bit
Andrea Faulds [Wed, 30 Mar 2016 12:48:51 +0000 (13:48 +0100)]
Fix two tests on 32-bit

8 years agoExpand UPGRADING and NEWS re: numeric strings changes
Andrea Faulds [Wed, 30 Mar 2016 12:26:27 +0000 (13:26 +0100)]
Expand UPGRADING and NEWS re: numeric strings changes

8 years agoMerge branch 'PHP-7.0'
Matteo Beccati [Wed, 30 Mar 2016 08:01:07 +0000 (10:01 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Removed shmop test leaking an shm segment

8 years agoRemoved shmop test leaking an shm segment
Matteo Beccati [Wed, 30 Mar 2016 08:00:28 +0000 (10:00 +0200)]
Removed shmop test leaking an shm segment

8 years agoWarn about invalid strings in arithmetic
Andrea Faulds [Wed, 30 Mar 2016 00:44:27 +0000 (01:44 +0100)]
Warn about invalid strings in arithmetic

Squashed commit of the following:

commit e05d3b67325d4521418483ed924ac9211a188919
Author: Andrea Faulds <ajf@ajf.me>
Date:   Wed Mar 30 01:43:35 2016 +0100

    UPGRADING and NEWS

commit 6caf1d4585207d1b02fb06a216cd7da1a1f5e12d
Author: Andrea Faulds <ajf@ajf.me>
Date:   Sun Mar 20 21:18:33 2016 +0000

    Fixes

commit 6dadb1b0efe5e2ed071e95a55c806519e61377ac
Author: Andrea Faulds <ajf@ajf.me>
Date:   Sun Feb 14 02:15:01 2016 +0000

    Add test for numeric string errors in assignment

commit bd5f04e8dd576f92a48d25546f4f9a0f57f374de
Author: Andrea Faulds <ajf@ajf.me>
Date:   Sat Feb 13 23:53:05 2016 +0000

    Add test for numeric string errors

commit c72e92f16d512bcae30cc9639c89bcb08d971742
Author: Andrea Faulds <ajf@ajf.me>
Date:   Tue Jan 26 23:28:33 2016 +0000

    Add test for scientific notation in integer operations

commit d94c08852d405b3a7ef6c84d24bf7915c890ce78
Author: Andrea Faulds <ajf@ajf.me>
Date:   Sun Feb 14 01:25:57 2016 +0000

    Disable optimiser evaluation for numeric string errors

commit 30ee954ed13d933e766c68605d683c8ebae3d8ee
Author: Andrea Faulds <ajf@ajf.me>
Date:   Sun Feb 14 01:46:25 2016 +0000

    fixup

commit a6403b79e054c95e2b7345d787f3092b261eed27
Author: Andrea Faulds <ajf@ajf.me>
Date:   Sat Feb 13 22:00:27 2016 +0000

    Do not convert error-causing numeric strings ahead-of-time

commit f9dc35401471ef3035954cb6f171826769297548
Author: Andrea Faulds <ajf@ajf.me>
Date:   Sat Feb 13 19:15:38 2016 +0000

    Disable compile-time evaluation for numeric string errors

commit e05b0cc8496ea082c6db27efd8b8277ef1f785b5
Author: Andrea Faulds <ajf@ajf.me>
Date:   Fri Feb 5 11:42:26 2016 +0000

    Make _zval_get_long_func_noisy function for inlining

commit 84d66321a57e579759109650c8bb7e3d5002854a
Author: Andrea Faulds <ajf@ajf.me>
Date:   Tue Jan 26 23:10:00 2016 +0000

    Update tests

commit 5ac4a0cc4bff282e3a15eaa8ab44b67391881a6d
Author: Andrea Faulds <ajf@ajf.me>
Date:   Tue Jan 26 22:08:19 2016 +0000

    Use is_numeric_string_ex for zval_get_long etc.

commit c21f08848533723331012a62a153de3577731d6a
Author: Andrea Faulds <ajf@ajf.me>
Date:   Thu Jan 7 21:13:04 2016 +0000

    Update tests

commit 63e214cf8160420bfc51c6a2b4ae32f09ad8e8af
Author: Andrea Faulds <ajf@ajf.me>
Date:   Wed Jan 6 00:28:01 2016 +0000

    Warn on non-/bad numeric strings in arithmetic

8 years agoMerge branch 'PHP-7.0'
Nikita Popov [Tue, 29 Mar 2016 17:29:55 +0000 (19:29 +0200)]
Merge branch 'PHP-7.0'

8 years agoFixed bug #71922
Nikita Popov [Tue, 29 Mar 2016 17:29:19 +0000 (19:29 +0200)]
Fixed bug #71922

8 years agoFixed bug #62814
Nikita Popov [Tue, 29 Mar 2016 17:07:14 +0000 (19:07 +0200)]
Fixed bug #62814

8 years ago5.5.35 now
Julien Pauli [Tue, 29 Mar 2016 16:11:03 +0000 (18:11 +0200)]
5.5.35 now

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 29 Mar 2016 12:20:49 +0000 (14:20 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix dir separator in test

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 29 Mar 2016 12:20:30 +0000 (14:20 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix dir separator in test

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 29 Mar 2016 12:19:35 +0000 (14:19 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix dir separator in test

8 years agofix dir separator in test
Anatol Belski [Tue, 29 Mar 2016 12:18:25 +0000 (14:18 +0200)]
fix dir separator in test

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 29 Mar 2016 11:13:49 +0000 (13:13 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
  Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 29 Mar 2016 11:12:47 +0000 (13:12 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
  Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file

8 years agoFixed bug #71527 Buffer over-write in finfo_open with malformed magic file
Anatol Belski [Sun, 27 Mar 2016 22:45:19 +0000 (00:45 +0200)]
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file

The actual fix is applying the upstream patch from
https://github.com/file/file/commit/6713ca45e7757297381f4b4cdb9cf5e624a9ad36

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 29 Mar 2016 11:11:17 +0000 (13:11 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file

8 years agoFixed bug #71527 Buffer over-write in finfo_open with malformed magic file
Anatol Belski [Sun, 27 Mar 2016 22:45:19 +0000 (00:45 +0200)]
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file

The actual fix is applying the upstream patch from
https://github.com/file/file/commit/6713ca45e7757297381f4b4cdb9cf5e624a9ad36

8 years agoMerge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
Joe Watkins [Tue, 29 Mar 2016 10:34:58 +0000 (11:34 +0100)]
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0

8 years agoMerge branch 'master' of https://github.com/php/php-src
Joe Watkins [Tue, 29 Mar 2016 10:34:46 +0000 (11:34 +0100)]
Merge branch 'master' of https://github.com/php/php-src

8 years agoMerge branch 'PHP-7.0'
Joe Watkins [Tue, 29 Mar 2016 10:34:31 +0000 (11:34 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  remove unused param

8 years agoremove unused param
Joe Watkins [Tue, 29 Mar 2016 10:34:18 +0000 (11:34 +0100)]
remove unused param

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 29 Mar 2016 10:06:03 +0000 (12:06 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Tue, 29 Mar 2016 10:05:36 +0000 (12:05 +0200)]
update NEWS

8 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Tue, 29 Mar 2016 10:02:18 +0000 (18:02 +0800)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src:
  Fixed bug #71704 php_snmp_error() Format String Vulnerability
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
  Updated to version 2016.3 (2016c)
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
  Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
  Fix bug #71798 - Integer Overflow in php_raw_url_encode
  update NEWS
  Disable huge pages in the Zend allocator by default As per the discussion on internals, this is an expert feature that needs special system-level configuration and care.
  Added ability to disable huge pages in Zend Memeory Manager through the environment variable USE_ZEND_ALLOC_HUGE_PAGES=0.
  Fix bug #71860: Require valid paths for phar filenames
  Fix bug #71860: Require valid paths for phar filenames
  update NEWS
  Fixed bug #71704 php_snmp_error() Format String Vulnerability
  Merge branch 'PHP-5.6' into PHP-7.0
  Updated to version 2016.2 (2016b)
  update libs versions
  set RC1 versions
  Going for 5.5.34

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Tue, 29 Mar 2016 10:02:00 +0000 (18:02 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src:
  Fixed bug #71704 php_snmp_error() Format String Vulnerability
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
  Updated to version 2016.3 (2016c)
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
  Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
  Fix bug #71798 - Integer Overflow in php_raw_url_encode
  update NEWS
  Disable huge pages in the Zend allocator by default As per the discussion on internals, this is an expert feature that needs special system-level configuration and care.
  Added ability to disable huge pages in Zend Memeory Manager through the environment variable USE_ZEND_ALLOC_HUGE_PAGES=0.
  Fix bug #71860: Require valid paths for phar filenames
  Fix bug #71860: Require valid paths for phar filenames
  update NEWS
  Fixed bug #71704 php_snmp_error() Format String Vulnerability
  Merge branch 'PHP-5.6' into PHP-7.0
  Updated to version 2016.2 (2016b)
  update libs versions
  set RC1 versions
  Going for 5.5.34

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 29 Mar 2016 09:53:05 +0000 (17:53 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Update tests

8 years agoUpdate tests
Xinchen Hui [Tue, 29 Mar 2016 09:52:58 +0000 (17:52 +0800)]
Update tests

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 29 Mar 2016 09:27:39 +0000 (11:27 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #71704 php_snmp_error() Format String Vulnerability
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
  Updated to version 2016.3 (2016c)
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
  Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
  Fix bug #71798 - Integer Overflow in php_raw_url_encode
  update NEWS
  Disable huge pages in the Zend allocator by default As per the discussion on internals, this is an expert feature that needs special system-level configuration and care.
  Added ability to disable huge pages in Zend Memeory Manager through the environment variable USE_ZEND_ALLOC_HUGE_PAGES=0.
  Fix bug #71860: Require valid paths for phar filenames
  Fix bug #71860: Require valid paths for phar filenames
  update NEWS
  Fixed bug #71704 php_snmp_error() Format String Vulnerability
  Merge branch 'PHP-5.6' into PHP-7.0
  Updated to version 2016.2 (2016b)
  update libs versions
  set RC1 versions
  Going for 5.5.34

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 29 Mar 2016 09:26:09 +0000 (11:26 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:

8 years agoMerge remote-tracking branch 'origin/PHP-7.0.5' into PHP-7.0
Anatol Belski [Tue, 29 Mar 2016 09:24:33 +0000 (11:24 +0200)]
Merge remote-tracking branch 'origin/PHP-7.0.5' into PHP-7.0

* origin/PHP-7.0.5:
  Fixed bug #71704 php_snmp_error() Format String Vulnerability
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
  Updated to version 2016.3 (2016c)
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
  Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
  Fix bug #71798 - Integer Overflow in php_raw_url_encode
  update NEWS
  Disable huge pages in the Zend allocator by default As per the discussion on internals, this is an expert feature that needs special system-level configuration and care.
  Added ability to disable huge pages in Zend Memeory Manager through the environment variable USE_ZEND_ALLOC_HUGE_PAGES=0.
  Fix bug #71860: Require valid paths for phar filenames
  Fix bug #71860: Require valid paths for phar filenames
  update NEWS
  Fixed bug #71704 php_snmp_error() Format String Vulnerability
  Merge branch 'PHP-5.6' into PHP-7.0
  Updated to version 2016.2 (2016b)
  update libs versions
  set RC1 versions
  Going for 5.5.34

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 29 Mar 2016 09:14:48 +0000 (17:14 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #71914 (Reference is lost in "switch")

8 years agoFixed bug #71914 (Reference is lost in "switch")
Xinchen Hui [Tue, 29 Mar 2016 09:14:36 +0000 (17:14 +0800)]
Fixed bug #71914 (Reference is lost in "switch")

8 years agoMerge branch 'PHP-7.0'
Joe Watkins [Tue, 29 Mar 2016 08:58:06 +0000 (09:58 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix bug #71428: Validation type inheritance with = NULL

8 years agofix bug #71428: Validation type inheritance with = NULL
Joe Watkins [Tue, 29 Mar 2016 08:57:51 +0000 (09:57 +0100)]
fix bug #71428: Validation type inheritance with = NULL

8 years agoMerge branch 'PHP-7.0'
Joe Watkins [Tue, 29 Mar 2016 08:36:46 +0000 (09:36 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Bug #71428 work ... hopefully, fix drupal 8

8 years agoBug #71428 work ... hopefully, fix drupal 8
Joe Watkins [Tue, 29 Mar 2016 08:36:08 +0000 (09:36 +0100)]
Bug #71428 work ... hopefully, fix drupal 8

8 years agoMerge branch 'PHP-5.5' into PHP-7.0.5
Stanislav Malyshev [Tue, 29 Mar 2016 06:55:05 +0000 (23:55 -0700)]
Merge branch 'PHP-5.5' into PHP-7.0.5

* PHP-5.5:
  Fixed bug #71704 php_snmp_error() Format String Vulnerability
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
  Fix bug #71798 - Integer Overflow in php_raw_url_encode
  Fix bug #71860: Require valid paths for phar filenames
  Going for 5.5.34

Conflicts:
configure.in
ext/phar/phar_object.c
ext/phar/tests/badparameters.phpt
ext/phar/tests/create_path_error.phpt
ext/phar/tests/pharfileinfo_construct.phpt
ext/snmp/snmp.c
ext/standard/url.c
main/php_version.h

8 years agoMerge remote-tracking branch 'security/PHP-7.0.5' into PHP-7.0.5
Stanislav Malyshev [Tue, 29 Mar 2016 06:49:03 +0000 (23:49 -0700)]
Merge remote-tracking branch 'security/PHP-7.0.5' into PHP-7.0.5

* security/PHP-7.0.5:
  Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
  Fix bug #71860: Require valid paths for phar filenames
  update NEWS
  Fixed bug #71704 php_snmp_error() Format String Vulnerability

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 29 Mar 2016 06:45:15 +0000 (23:45 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #71704 php_snmp_error() Format String Vulnerability

8 years agoFixed bug #71704 php_snmp_error() Format String Vulnerability
Anatol Belski [Wed, 16 Mar 2016 08:48:40 +0000 (09:48 +0100)]
Fixed bug #71704 php_snmp_error() Format String Vulnerability

Conflicts:
ext/snmp/snmp.c

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 29 Mar 2016 06:30:14 +0000 (23:30 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut

8 years agoMerge branch 'PHP-5.5.34' into PHP-5.5
Stanislav Malyshev [Tue, 29 Mar 2016 06:29:45 +0000 (23:29 -0700)]
Merge branch 'PHP-5.5.34' into PHP-5.5

* PHP-5.5.34:
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 29 Mar 2016 06:21:15 +0000 (23:21 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
  Fix bug #71798 - Integer Overflow in php_raw_url_encode
  Fix bug #71860: Require valid paths for phar filenames
  Going for 5.5.34

Conflicts:
configure.in
ext/phar/tests/create_path_error.phpt
main/php_version.h

8 years agoFixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
Stanislav Malyshev [Mon, 28 Mar 2016 08:22:37 +0000 (01:22 -0700)]
Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut

8 years agoUpdated to version 2016.3 (2016c)
Derick Rethans [Thu, 24 Mar 2016 11:09:07 +0000 (11:09 +0000)]
Updated to version 2016.3 (2016c)

8 years agoMerge branch 'PHP-7.0'
Joe Watkins [Mon, 28 Mar 2016 10:55:03 +0000 (11:55 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  work on #71428

8 years agowork on #71428
Joe Watkins [Mon, 28 Mar 2016 10:54:25 +0000 (11:54 +0100)]
work on #71428

8 years agoFixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
Stanislav Malyshev [Mon, 28 Mar 2016 08:22:37 +0000 (01:22 -0700)]
Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut

8 years agoFixed bug #71527 Buffer over-write in finfo_open with malformed magic file
Anatol Belski [Sun, 27 Mar 2016 22:45:19 +0000 (00:45 +0200)]
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file

The actual fix is applying the upstream patch from
https://github.com/file/file/commit/6713ca45e7757297381f4b4cdb9cf5e624a9ad36

8 years agoFix bug #71798 - Integer Overflow in php_raw_url_encode
Stanislav Malyshev [Sun, 27 Mar 2016 21:22:19 +0000 (14:22 -0700)]
Fix bug #71798 - Integer Overflow in php_raw_url_encode

8 years agoMerge branch 'PHP-7.0'
Joe Watkins [Sun, 27 Mar 2016 05:51:03 +0000 (06:51 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix #70189 (SAPI sends empty Content-Type when default_mimetype is empty)

8 years agofix #70189 (SAPI sends empty Content-Type when default_mimetype is empty)
Joe Watkins [Sun, 27 Mar 2016 05:50:11 +0000 (06:50 +0100)]
fix #70189 (SAPI sends empty Content-Type when default_mimetype is empty)

8 years agoMerge branch 'PHP-7.0'
Joe Watkins [Sun, 27 Mar 2016 00:04:30 +0000 (00:04 +0000)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  my commits are bad, and I feel bad (test for bug #71414)

8 years agomy commits are bad, and I feel bad (test for bug #71414)
Joe Watkins [Sat, 26 Mar 2016 23:59:46 +0000 (23:59 +0000)]
my commits are bad, and I feel bad (test for bug #71414)

8 years agoMerge remote-tracking branch 'origin/PHP-7.0'
Bob Weinand [Sat, 26 Mar 2016 23:57:56 +0000 (00:57 +0100)]
Merge remote-tracking branch 'origin/PHP-7.0'

8 years agofix #71414 (Interface method override inherited method and implemented in a trait...
Joe Watkins [Sat, 26 Mar 2016 23:47:31 +0000 (23:47 +0000)]
fix #71414 (Interface method override inherited method and implemented in a trait causes fatal error)

8 years agoFix FETCH_CLASS_SELF comparisons
Nikita Popov [Sat, 26 Mar 2016 21:43:58 +0000 (22:43 +0100)]
Fix FETCH_CLASS_SELF comparisons

Turns out those don't form a bitfield.

8 years agoRemove some dead defines
Nikita Popov [Sat, 26 Mar 2016 00:48:03 +0000 (01:48 +0100)]
Remove some dead defines

8 years agoadd test for bug
Joe Watkins [Sat, 26 Mar 2016 11:08:19 +0000 (11:08 +0000)]
add test for bug

8 years agofix standard object handler for properties when type == BP_VAR_IS
Joe Watkins [Sat, 26 Mar 2016 10:43:56 +0000 (10:43 +0000)]
fix standard object handler for properties when type == BP_VAR_IS

8 years agoadd test for bug
Joe Watkins [Sat, 26 Mar 2016 11:08:19 +0000 (11:08 +0000)]
add test for bug

8 years agofix standard object handler for properties when type == BP_VAR_IS
Joe Watkins [Sat, 26 Mar 2016 10:43:56 +0000 (10:43 +0000)]
fix standard object handler for properties when type == BP_VAR_IS

8 years agoRemove HAVE_CRYPT checks
Nikita Popov [Fri, 25 Mar 2016 20:06:10 +0000 (21:06 +0100)]
Remove HAVE_CRYPT checks

We always provide a crypt implementation. HAVE_CRYPT is only
relevant as to whether the crypt() C function exists.

8 years agoMove HAVE_ATTRIBUTE_ALIGNED check outside crypt block
Nikita Popov [Fri, 25 Mar 2016 19:50:52 +0000 (20:50 +0100)]
Move HAVE_ATTRIBUTE_ALIGNED check outside crypt block

This is checked outside the crypt() implementation as well.

8 years agoRemove PHP_*_CRYPT constants
Nikita Popov [Fri, 25 Mar 2016 19:48:34 +0000 (20:48 +0100)]
Remove PHP_*_CRYPT constants

They are always 1.

8 years agoEnsure that all crypt() formats are supported
Nikita Popov [Fri, 25 Mar 2016 19:37:17 +0000 (20:37 +0100)]
Ensure that all crypt() formats are supported

Checks for md5, sha512 and sha256 were missing.

As a result the PHP_*_CRYPT constants are always 1 now.

8 years agoMerge branch 'PHP-7.0'
Nikita Popov [Fri, 25 Mar 2016 19:23:30 +0000 (20:23 +0100)]
Merge branch 'PHP-7.0'

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Fri, 25 Mar 2016 19:23:04 +0000 (20:23 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
ext/standard/crypt.c

8 years agoFixed bug #67512
Nikita Popov [Fri, 25 Mar 2016 19:18:46 +0000 (20:18 +0100)]
Fixed bug #67512

8 years agoFix assert() in EXT mode
Nikita Popov [Fri, 25 Mar 2016 18:27:20 +0000 (19:27 +0100)]
Fix assert() in EXT mode

8 years agoEvaluate arguments of new for classes without ctor
Nikita Popov [Sat, 12 Mar 2016 15:00:04 +0000 (16:00 +0100)]
Evaluate arguments of new for classes without ctor

ML: http://markmail.org/message/4b3mk7jid64zvz34

8 years agoPrint .0 in phpdbg opcode dumps
Nikita Popov [Wed, 23 Mar 2016 18:14:22 +0000 (19:14 +0100)]
Print .0 in phpdbg opcode dumps

8 years agoAllow specifying keys on list() elements
Andrea Faulds [Fri, 25 Mar 2016 17:18:42 +0000 (17:18 +0000)]
Allow specifying keys on list() elements

Squashed commit of the following:

commit 0361dbe35616722fbe51b446ab7b43a9ca01f455
Author: Andrea Faulds <ajf@ajf.me>
Date:   Fri Mar 25 16:59:20 2016 +0000

    UPGRADING and NEWS

commit dca9d4a36c845bfe4fbcb9db18e184469110ea5a
Author: Andrea Faulds <ajf@ajf.me>
Date:   Fri Mar 25 16:45:18 2016 +0000

    Add tests contributed by @jesseschalken

commit e557f77eab692ed8bb18dbdff48777d80b6f6cbd
Author: Andrea Faulds <ajf@ajf.me>
Date:   Fri Mar 25 16:44:51 2016 +0000

    Rebuild VM

commit 70942e4c3cbb6b4fe6305b27e1e1b2bed78e76df
Author: Andrea Faulds <ajf@ajf.me>
Date:   Wed Feb 24 13:12:26 2016 +0000

    Add test for evaluation order of nested list() keys

commit ed3592e80c5231d9e9a95558aa768a42b75bdebc
Author: Andrea Faulds <ajf@ajf.me>
Date:   Wed Feb 24 12:42:04 2016 +0000

    Add test for evaluation order

commit 589756cbcccbb4702c90b5aa9c091af446058ca1
Author: Andrea Faulds <ajf@ajf.me>
Date:   Tue Jan 19 17:29:34 2016 +0000

    Allow arbitrary expressions for key

commit 3f622077c32fcd82fcf27a41bd0f22e2552ec4c5
Author: Andrea Faulds <ajf@ajf.me>
Date:   Tue Jan 19 17:45:10 2016 +0000

    Remove compile-time HANDLE_NUMERIC (see bug #63217)

commit bab758119aec63289a2c5bef6a5f90a7bc6441a2
Author: Andrea Faulds <ajf@ajf.me>
Date:   Sun Jan 17 01:20:26 2016 +0000

    Handle numeric strings

commit 14bfe93ddc34d1175bccb42a158be8842c472a9c
Author: Andrea Faulds <ajf@ajf.me>
Date:   Sun Jan 17 01:09:36 2016 +0000

    Allow trailing comma

commit f4c8b2cb30fc074b15b5f7aabef5444382403b5d
Author: Andrea Faulds <ajf@ajf.me>
Date:   Sat Jan 16 23:47:11 2016 +0000

    Add tests

commit 0085884a6176c3a981b53131fbb4fa0c44db2670
Author: Andrea Faulds <ajf@ajf.me>
Date:   Sat Jan 16 22:24:23 2016 +0000

    Handle non-integer/string opcodes

commit e572d2d0ada6a64b36a2c6f5e8cb57439f51b55e
Author: Andrea Faulds <ajf@ajf.me>
Date:   Sat Jan 16 21:10:33 2016 +0000

    Disallow mixing keyed and unkeyed list() elements

commit cede13ccfe0c486591fa84764271ac1b8cb90d0b
Author: Andrea Faulds <ajf@ajf.me>
Date:   Sun Jan 10 20:46:44 2016 +0000

    list() with keys (no foreach or tests)