]> granicus.if.org Git - php/log
php
11 years agoFixed bug #66298 (ext/opcache/Optimizer/zend_optimizer.c has dos-style ^M as lineend)
Xinchen Hui [Mon, 30 Dec 2013 02:50:46 +0000 (10:50 +0800)]
Fixed bug #66298 (ext/opcache/Optimizer/zend_optimizer.c has dos-style ^M as lineend)

Use git blame -w to ingore the space changes

11 years agominor fix on previous
Remi Collet [Sat, 28 Dec 2013 13:29:14 +0000 (14:29 +0100)]
minor fix on previous

11 years agoFixed bug #66356 (Heap Overflow Vulnerability in imagecrop())
Remi Collet [Sat, 28 Dec 2013 13:22:13 +0000 (14:22 +0100)]
Fixed bug #66356 (Heap Overflow Vulnerability in imagecrop())

Initial fix was PHP stuff
This one is libgd fix.

- filter invalid crop size
- dont try to copy on invalid position
- fix crop size when out of src image
- fix possible NULL deref
- fix possible integer overfloow

11 years agoRevert accidented committed php_version.h
Xinchen Hui [Fri, 27 Dec 2013 06:10:55 +0000 (14:10 +0800)]
Revert accidented committed php_version.h

11 years agoFixed bug #66356 (Heap Overflow Vulnerability in imagecrop())
Xinchen Hui [Fri, 27 Dec 2013 06:04:59 +0000 (14:04 +0800)]
Fixed bug #66356 (Heap Overflow Vulnerability in imagecrop())

And also fixed the bug: arguments are altered after some calls

11 years agoFixed ZEND_MM_MEM_TYPE=mmap_zero
Dmitry Stogov [Thu, 26 Dec 2013 07:51:32 +0000 (11:51 +0400)]
Fixed ZEND_MM_MEM_TYPE=mmap_zero

11 years agobrought the ext/sybase_ct/config.w32 up to date
Anatol Belski [Wed, 25 Dec 2013 22:29:42 +0000 (23:29 +0100)]
brought the ext/sybase_ct/config.w32 up to date

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Wed, 25 Dec 2013 06:23:24 +0000 (22:23 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  5.4.25 next

Conflicts:
configure.in
main/php_version.h

11 years ago5.4.25 next
Stanislav Malyshev [Wed, 25 Dec 2013 06:22:04 +0000 (22:22 -0800)]
5.4.25 next

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Mon, 23 Dec 2013 11:00:49 +0000 (12:00 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  removed outdated IsDebuggerPresent declaration

11 years agoremoved outdated IsDebuggerPresent declaration
Anatol Belski [Mon, 23 Dec 2013 10:53:47 +0000 (11:53 +0100)]
removed outdated IsDebuggerPresent declaration

This piece of code seems to retain compatibility with some windows
versions before 2000. Today it's not relevant anymore and only
produces a warning C4273 because of the conflicting prototype. In
VC9 the declaration is present in winbase.h:4142, but available
is it already in winxp. Here's the doc link
http://msdn.microsoft.com/en-us/library/windows/desktop/ms680345(v=vs.85).aspx

11 years agoAdded suggestion about opcache.revalidate_freq setting in development environment
Dmitry Stogov [Mon, 23 Dec 2013 09:09:45 +0000 (13:09 +0400)]
Added suggestion about opcache.revalidate_freq setting in development environment

11 years agoFixed Issue #140: "opcache.enable_file_override" doesn't respect "opcache.revalidate_...
Dmitry Stogov [Mon, 23 Dec 2013 08:46:30 +0000 (12:46 +0400)]
Fixed Issue #140: "opcache.enable_file_override" doesn't respect "opcache.revalidate_freq"

11 years agoopcodes
krakjoe [Sun, 22 Dec 2013 13:20:41 +0000 (13:20 +0000)]
opcodes

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
krakjoe [Sun, 22 Dec 2013 13:07:41 +0000 (13:07 +0000)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  stop warnings from unused opcode map
  - BFN

11 years agostop warnings from unused opcode map
krakjoe [Sun, 22 Dec 2013 13:00:51 +0000 (13:00 +0000)]
stop warnings from unused opcode map

11 years ago- BFN
Felipe Pena [Sun, 22 Dec 2013 11:43:53 +0000 (09:43 -0200)]
- BFN

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Felipe Pena [Sun, 22 Dec 2013 11:42:58 +0000 (09:42 -0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  - Fixed bug #66311 (Stack smashing protection kills PDO/ODBC queries) patch by: michael at orlitzky dot com

11 years ago- Fixed bug #66311 (Stack smashing protection kills PDO/ODBC queries) patch by: micha...
Felipe Pena [Sun, 22 Dec 2013 11:42:45 +0000 (09:42 -0200)]
- Fixed bug #66311 (Stack smashing protection kills PDO/ODBC queries) patch by: michael at orlitzky dot com

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Bob Weinand [Sat, 21 Dec 2013 23:54:59 +0000 (00:54 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

Conflicts:
Zend/zend_vm_opcodes.c

11 years agoIncluded new .c file in build too
Bob Weinand [Sat, 21 Dec 2013 23:52:05 +0000 (00:52 +0100)]
Included new .c file in build too

11 years agoFixed little typo in zend_vm_gen.php
Bob Weinand [Sat, 21 Dec 2013 22:52:48 +0000 (23:52 +0100)]
Fixed little typo in zend_vm_gen.php

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Bob Weinand [Sat, 21 Dec 2013 22:49:28 +0000 (23:49 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

Conflicts:
Zend/zend_vm_opcodes.h

11 years agoMoved to new file, killing a lot of warnings
Bob Weinand [Sat, 21 Dec 2013 22:45:34 +0000 (23:45 +0100)]
Moved to new file, killing a lot of warnings

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Bob Weinand [Sat, 21 Dec 2013 20:31:48 +0000 (21:31 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

Conflicts:
Zend/zend_vm_gen.php
Zend/zend_vm_opcodes.h

11 years agoFixed build...
Bob Weinand [Sat, 21 Dec 2013 20:29:08 +0000 (21:29 +0100)]
Fixed build...

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Bob Weinand [Sat, 21 Dec 2013 18:27:58 +0000 (19:27 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoAdded an opcode to opcode name map
Bob Weinand [Sat, 21 Dec 2013 18:22:47 +0000 (19:22 +0100)]
Added an opcode to opcode name map
That way extensions etc. don't have to maintain their own lists anymore.
Also as phpdbg is included and needs such a map, it'd be counterproductive to need to change two things on every new opcode.

11 years agoMerge branch '5.5' into PHP-5.5
Boris Lytochkin [Thu, 19 Dec 2013 21:01:41 +0000 (01:01 +0400)]
Merge branch '5.5' into PHP-5.5

* 5.5:
  Fixed SNMP_ERR_TOOBIG handling for bulk walk operations. (Boris Lytochkin)

11 years agoMerge branch '5.4' into PHP-5.4
Boris Lytochkin [Thu, 19 Dec 2013 21:00:46 +0000 (01:00 +0400)]
Merge branch '5.4' into PHP-5.4

* 5.4:
  keep 'em sorted
  Fixed SNMP_ERR_TOOBIG handling for bulk walk operations

11 years agokeep 'em sorted
Boris Lytochkin [Thu, 19 Dec 2013 20:51:59 +0000 (00:51 +0400)]
keep 'em sorted

11 years agoFixed SNMP_ERR_TOOBIG handling for bulk walk operations. (Boris Lytochkin)
Boris Lytochkin [Thu, 19 Dec 2013 20:37:29 +0000 (00:37 +0400)]
Fixed SNMP_ERR_TOOBIG handling for bulk walk operations. (Boris Lytochkin)

11 years agoMerge branch '5.4' into 5.5
Boris Lytochkin [Thu, 19 Dec 2013 20:26:34 +0000 (00:26 +0400)]
Merge branch '5.4' into 5.5

* 5.4:
  Fixed SNMP_ERR_TOOBIG handling for bulk walk operations

11 years agoFixed SNMP_ERR_TOOBIG handling for bulk walk operations
Boris Lytochkin [Thu, 19 Dec 2013 20:25:16 +0000 (00:25 +0400)]
Fixed SNMP_ERR_TOOBIG handling for bulk walk operations

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Derick Rethans [Thu, 19 Dec 2013 18:58:45 +0000 (18:58 +0000)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years ago- Updated to version 2013.9 (2013i)
Derick Rethans [Thu, 19 Dec 2013 18:58:44 +0000 (18:58 +0000)]
- Updated to version 2013.9 (2013i)

11 years agoNEWS
Remi Collet [Thu, 19 Dec 2013 09:56:07 +0000 (10:56 +0100)]
NEWS

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Remi Collet [Thu, 19 Dec 2013 09:53:50 +0000 (10:53 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed Bug #66321 (ZipArchive::open() ze_obj->filename_len not real)

11 years agoFixed Bug #66321 (ZipArchive::open() ze_obj->filename_len not real)
Remi Collet [Thu, 19 Dec 2013 09:53:38 +0000 (10:53 +0100)]
Fixed Bug #66321 (ZipArchive::open() ze_obj->filename_len not real)

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Michael Wallner [Thu, 19 Dec 2013 09:08:06 +0000 (10:08 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Update NEWS handling section of README.GIT-RULES

11 years agoUpdate NEWS handling section of README.GIT-RULES
Michael Wallner [Thu, 19 Dec 2013 09:04:32 +0000 (10:04 +0100)]
Update NEWS handling section of README.GIT-RULES

See http://marc.info/?t=138124004400005&r=1&w=2

11 years agoFixed reavlidate_path=1 behavior to avoid caching of symlinks values.
Dmitry Stogov [Wed, 18 Dec 2013 15:19:53 +0000 (19:19 +0400)]
Fixed reavlidate_path=1 behavior to avoid caching of symlinks values.

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Tue, 17 Dec 2013 07:45:07 +0000 (08:45 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fixed possibly uninitialized value usage

11 years agofixed possibly uninitialized value usage
Anatol Belski [Tue, 17 Dec 2013 07:44:22 +0000 (08:44 +0100)]
fixed possibly uninitialized value usage

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 16 Dec 2013 19:35:54 +0000 (11:35 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix bug #65873 - Integer overflow in exif_read_data()

11 years agoFix bug #65873 - Integer overflow in exif_read_data()
Stanislav Malyshev [Sun, 8 Dec 2013 23:37:35 +0000 (15:37 -0800)]
Fix bug #65873 - Integer overflow in exif_read_data()

11 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Dmitry Stogov [Mon, 16 Dec 2013 09:13:29 +0000 (13:13 +0400)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src:
  Fix tests expecting specific resource IDs
  fixed parameter order for zend_throw_exception_ex call
  Fix doc (svn -> git)
  Updated release process

11 years agoMerge branch 'PHP-5.5' of https://git.php.net/push/php-src into PHP-5.5
Xinchen Hui [Sun, 15 Dec 2013 08:55:11 +0000 (16:55 +0800)]
Merge branch 'PHP-5.5' of https://git.php.net/push/php-src into PHP-5.5

11 years agoFix tests expecting specific resource IDs
Eric Stenson [Fri, 13 Dec 2013 18:42:32 +0000 (10:42 -0800)]
Fix tests expecting specific resource IDs

When Wincache or APC are installed, the resource IDs are not the same.
This is because Wincache takes a few resource objects for itself.  As a
result, these tests become false positives.

On Windows boxes, the microtime precision is not granular enough
to reliably register a difference if two calls to uniqid() are made
concurrently.  This is a fix to the uniqid() test to avoid the false
positive when run on Windows machines.  Also, added a test to exercise
the 'more_entropy' variant of uniqid().

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Sat, 14 Dec 2013 19:46:43 +0000 (20:46 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fixed parameter order for zend_throw_exception_ex call
  Fix doc (svn -> git)

11 years agofixed parameter order for zend_throw_exception_ex call
Anatol Belski [Sat, 14 Dec 2013 19:43:02 +0000 (20:43 +0100)]
fixed parameter order for zend_throw_exception_ex call

11 years agoFix doc (svn -> git)
DQNEO [Fri, 13 Dec 2013 21:20:37 +0000 (23:20 +0200)]
Fix doc (svn -> git)

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Julien Pauli [Fri, 13 Dec 2013 12:27:19 +0000 (13:27 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Updated release process

11 years agoMerge branch 'PHP-5.3' into PHP-5.4
Julien Pauli [Fri, 13 Dec 2013 12:26:16 +0000 (13:26 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Updated release process

11 years agoUpdated release process
Julien Pauli [Fri, 13 Dec 2013 12:16:54 +0000 (13:16 +0100)]
Updated release process

11 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Dmitry Stogov [Fri, 13 Dec 2013 07:16:17 +0000 (11:16 +0400)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src:
  Use zend_error_noreturn here
  Add Tests for #65784 in 5.5
  Disallowed JMP into a finally block.
  Update NEWS for 5.5.7 release

11 years agoUse zend_error_noreturn here
Xinchen Hui [Fri, 13 Dec 2013 02:56:35 +0000 (10:56 +0800)]
Use zend_error_noreturn here

11 years agoAdd Tests for #65784 in 5.5
Xinchen Hui [Thu, 12 Dec 2013 17:45:45 +0000 (01:45 +0800)]
Add Tests for #65784 in 5.5

11 years agoDisallowed JMP into a finally block.
Xinchen Hui [Thu, 12 Dec 2013 17:44:54 +0000 (01:44 +0800)]
Disallowed JMP into a finally block.

11 years agoUpdate NEWS for 5.5.7 release
Julien Pauli [Thu, 12 Dec 2013 16:15:43 +0000 (17:15 +0100)]
Update NEWS for 5.5.7 release

11 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Dmitry Stogov [Thu, 12 Dec 2013 12:46:49 +0000 (16:46 +0400)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src:
  fix test

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Michael Wallner [Thu, 12 Dec 2013 11:09:34 +0000 (12:09 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix test

11 years agofix test
Michael Wallner [Thu, 12 Dec 2013 11:08:50 +0000 (12:08 +0100)]
fix test

11 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Dmitry Stogov [Thu, 12 Dec 2013 10:00:03 +0000 (14:00 +0400)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src:
  Fixed bug #65486 mysqli_poll() is broken on Win x64

11 years agoFixed tests
Dmitry Stogov [Thu, 12 Dec 2013 09:35:37 +0000 (13:35 +0400)]
Fixed tests

11 years agoFixed bug #65486 mysqli_poll() is broken on Win x64
Anatol Belski [Thu, 12 Dec 2013 09:17:01 +0000 (10:17 +0100)]
Fixed bug #65486 mysqli_poll() is broken on Win x64

While this issue is visible in mysqli_poll() functions, the cause
lays deeper in the stream to socket casting API. On Win x64 the
SOCKET datatype is a 64 or 32 bit unsigned, while on Linux/Unix-like
it's 32 bit signed integer. The game of casting 32 bit var to/from
64 bit pointer back and forth is the best way to break it.

Further more, while socket and file descriptors are always integers
on Linux, those are different things using different APIs on Windows.
Even though using integer instead of SOCKET might work on Windows, this
issue might need to be revamped more carefully later. By this time
this patch is tested well with phpt and apps and shows no regressions,
neither in mysqli_poll() nor in any other parts.

11 years agoFixed ext/soap/tests/bugs/bug54911.phpt
Dmitry Stogov [Thu, 12 Dec 2013 09:02:50 +0000 (13:02 +0400)]
Fixed ext/soap/tests/bugs/bug54911.phpt

11 years agofix dir separator in cve-2013-6420 test
Anatol Belski [Wed, 11 Dec 2013 12:31:29 +0000 (13:31 +0100)]
fix dir separator in cve-2013-6420 test

11 years ago5.3.29-dev
Stanislav Malyshev [Tue, 10 Dec 2013 19:32:11 +0000 (11:32 -0800)]
5.3.29-dev

11 years agoFix CVE-2013-6420 - memory corruption in openssl_x509_parse
Stanislav Malyshev [Sun, 8 Dec 2013 19:40:18 +0000 (11:40 -0800)]
Fix CVE-2013-6420 - memory corruption in openssl_x509_parse

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Adam Harvey [Sun, 8 Dec 2013 03:41:23 +0000 (19:41 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Switch to using freetype-config for freetype detection.

11 years agoadded missing prototype
Anatol Belski [Wed, 11 Dec 2013 13:15:40 +0000 (14:15 +0100)]
added missing prototype

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Wed, 11 Dec 2013 12:33:16 +0000 (13:33 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix dir separator in cve-2013-6420 test

11 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatol Belski [Wed, 11 Dec 2013 12:32:49 +0000 (13:32 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  fix dir separator in cve-2013-6420 test

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Ard Biesheuvel [Wed, 11 Dec 2013 07:50:53 +0000 (08:50 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoZend: fix overflow handling bug in non-x86 fast_add_function()
Ard Biesheuvel [Tue, 10 Dec 2013 11:07:46 +0000 (12:07 +0100)]
Zend: fix overflow handling bug in non-x86 fast_add_function()

The 'result' argument of fast_add_function() may alias with either
of its operands (or both). Take care not to write to 'result' before
reading op1 and op2.

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Tue, 10 Dec 2013 19:35:26 +0000 (11:35 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  5.3.29-dev
  Fix CVE-2013-6420 - memory corruption in openssl_x509_parse

11 years agoMerge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Stanislav Malyshev [Tue, 10 Dec 2013 19:34:45 +0000 (11:34 -0800)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4

* 'PHP-5.4' of git.php.net:php-src:
  Fixed Bug #66218 zend_register_functions breaks reflection

11 years agoMerge branch 'PHP-5.3' into PHP-5.4
Stanislav Malyshev [Tue, 10 Dec 2013 19:33:40 +0000 (11:33 -0800)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  5.3.29-dev
  Fix CVE-2013-6420 - memory corruption in openssl_x509_parse

Conflicts:
configure.in
main/php_version.h

11 years agoNEWS
Remi Collet [Tue, 10 Dec 2013 15:10:02 +0000 (16:10 +0100)]
NEWS

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Remi Collet [Tue, 10 Dec 2013 15:09:41 +0000 (16:09 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed Bug #66218 zend_register_functions breaks reflection

11 years agoFixed Bug #66218 zend_register_functions breaks reflection
Remi Collet [Tue, 10 Dec 2013 15:07:16 +0000 (16:07 +0100)]
Fixed Bug #66218 zend_register_functions breaks reflection

Functions registered using zend_register_functions instead of zend_module_entry.functions are not seen on reflection.

Ex: additional_functions from api_module_entry.
Ex: in CLI, dl, cli_set_process_title and cli_get_process_title

Note:
- also affects functions overrided in extension
  (should be be reported in extension, where overrided, not in original extension)
- also allow extension to call zend_register_functions for various list
  (instead of having a single bug list)

11 years agoFixed bug #66112 (Use after free condition in SOAP extension). (martin dot koegler...
Dmitry Stogov [Tue, 10 Dec 2013 13:57:05 +0000 (17:57 +0400)]
Fixed bug #66112 (Use after free condition in SOAP extension). (martin dot koegler at brz dot gv dot at)

11 years agoRevered func_get_args() changes, because they were not completly transparent and...
Dmitry Stogov [Tue, 10 Dec 2013 12:02:59 +0000 (16:02 +0400)]
Revered func_get_args() changes, because they were not completly transparent and broke some tricky PHP code that worked because of luck before php-5.5.6 (see Bug #66107). The changes are going to be kept in PHP-5.6.

11 years agoArguments passed to user function have to be properly allocated on heap
Dmitry Stogov [Tue, 10 Dec 2013 09:00:45 +0000 (13:00 +0400)]
Arguments passed to user function have to be properly allocated on heap

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Sun, 8 Dec 2013 23:50:08 +0000 (15:50 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Replace invalid code with a proper #error

11 years agoReplace invalid code with a proper #error
Lior Kaplan [Fri, 4 Oct 2013 21:31:16 +0000 (23:31 +0200)]
Replace invalid code with a proper #error

This code creates a nasty error as mentioned in bugs #31131, #37062
Patch taken from Debian's PHP package: 044-strtod_arm_fix

11 years agoSwitch to using freetype-config for freetype detection.
Adam Harvey [Sun, 8 Dec 2013 03:39:40 +0000 (19:39 -0800)]
Switch to using freetype-config for freetype detection.

This fixes GD compilation against libfreetype 2.5.1 and later after they made
the rather interesting decision to change their include directory layout in a
point release.

The original suggestion in the bug was to use pkg-config, but my inclination is
to use freetype-config instead: we should be able to get the same configuration
information without actually needing pkg-config installed, since pkg-config is
by no means guaranteed to exist on many Unices and distros, whereas
freetype-config should always be present if a libfreetype build environment is
installed. Let's try it out and see what happens.

Fixes bug #64405 (Use freetype-config for determining freetype2 dir(s)).

11 years agoBFN
Michael Wallner [Fri, 6 Dec 2013 09:39:02 +0000 (10:39 +0100)]
BFN

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Michael Wallner [Fri, 6 Dec 2013 09:33:10 +0000 (10:33 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed bug #61645 (fopen and O_NONBLOCK)
  fix possibly uninitialized value

11 years agoFixed bug #61645 (fopen and O_NONBLOCK)
Michael Wallner [Fri, 6 Dec 2013 09:29:24 +0000 (10:29 +0100)]
Fixed bug #61645 (fopen and O_NONBLOCK)

if a mode like "rn" was passed to fopen(), then
php_stream_parse_fopen_modes() would assign O_WRONLY to
flags, because O_NONBLOCK tainted flags for the r/w/+ check

11 years agofix possibly uninitialized value
Michael Wallner [Fri, 6 Dec 2013 09:27:33 +0000 (10:27 +0100)]
fix possibly uninitialized value

11 years agoUse 'user@example.com' rather than 'user@company.com' in tests
Sara Golemon [Wed, 4 Dec 2013 15:49:16 +0000 (07:49 -0800)]
Use 'user@example.com' rather than 'user@company.com' in tests

Using some arbitrary 3rd party's domain name is clowny,
even if it never tries to send.

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Andrey Hristov [Wed, 4 Dec 2013 10:07:18 +0000 (12:07 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoFix loss of precision
Andrey Hristov [Wed, 4 Dec 2013 10:06:59 +0000 (12:06 +0200)]
Fix loss of precision

11 years agoFix php_module_startup() when loading more than one additional module
Sara Golemon [Wed, 4 Dec 2013 00:36:07 +0000 (16:36 -0800)]
Fix php_module_startup() when loading more than one additional module

Dereferencing addition_modules within php_module_startup would
point to a vector entirely on the stack (which is of course, wrong).

Use a specialized helper to keep BC with the current php_module_startup()
calling semantics.

Fixes 63159
Thanks to @a-j-k

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Adam Harvey [Tue, 3 Dec 2013 22:51:03 +0000 (14:51 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Remove 128.0.0.0/16 and 191.255.0.0/16 from the reserved list.

11 years agoRemove 128.0.0.0/16 and 191.255.0.0/16 from the reserved list.
Adam Harvey [Tue, 3 Dec 2013 22:46:15 +0000 (14:46 -0800)]
Remove 128.0.0.0/16 and 191.255.0.0/16 from the reserved list.

These were returned to the general allocation pool by RFC 3330, and hence
shouldn't cause an IP address validation failure due to being reserved. At
least 128.0.0.0/16 is in use on the public Internet today.

Fixes bug #66229 (128.0.0.0/16 isn't reserved any longer).

11 years agoBFN
Michael Wallner [Mon, 2 Dec 2013 16:02:01 +0000 (17:02 +0100)]
BFN

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Michael Wallner [Mon, 2 Dec 2013 16:01:25 +0000 (17:01 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix bug #65196