Go to file
Christoph M. Becker 16db4d1462 Fix #69975: PHP segfaults when accessing nvarchar(max) defined columns
The SQL Server Native Client 11.0 and maybe other ODBC drivers report
NVARCHAR(MAX) columns as SQL_WVARCHAR with size 0. This causes too small a
buffer to be emalloc'd, likely causing a segfault in the following. As we don't
know the real size of the column data, we treat such colums as
SQL_WLONGVARCHAR.

The related bug #67437 suggests that some drivers report a size of ~4GB. It is
not certain that this is really the case (there might be some integer overflow
involved, and anyway, there has been no feedback), so we do not cater for this
now. However, it would not be hard to treat all sizes above a certain threshold
in a similar way, i.e. as SQL_WLONGVARCHAR.
2015-07-03 00:15:47 +02:00
build make buildconf work as expected; 2015-02-04 09:39:02 +01:00
ext Fix #69975: PHP segfaults when accessing nvarchar(max) defined columns 2015-07-03 00:15:47 +02:00
main 5.6.12 next 2015-06-25 00:21:45 +02:00
netware bump year 2015-01-15 23:26:37 +08:00
pear
sapi Fixed #69655: php -S changes MKCALENDAR request method to MKCOL 2015-06-27 20:02:21 +02:00
scripts fix timelib build configuration 2015-01-21 16:22:23 +01:00
tests Merge branch 'PHP-5.5' into PHP-5.6 2015-02-18 14:06:39 +01:00
travis Merge branch 'PHP-5.5' into PHP-5.6 2015-03-20 13:34:35 +01:00
TSRM backported patch for bug #69472 2015-04-28 15:31:47 +02:00
win32 Fixed bug #61574 - No MSI 2015-06-11 22:52:30 +02:00
Zend Merge branch 'PHP-5.5' into PHP-5.6 2015-06-20 16:40:53 +02:00
.gdbinit
.gitattributes Merge branch 'PHP-5.4' into PHP-5.5 2014-07-21 01:47:19 +03:00
.gitignore Merge branch 'PHP-5.5' into PHP-5.6 2014-10-02 22:32:18 +02:00
.travis.yml Merge branch 'PHP-5.5' into PHP-5.6 2015-04-08 19:00:21 +02:00
acinclude.m4 Merge branch 'PHP-5.5' into PHP-5.6 2014-08-17 15:51:15 +03:00
buildconf
buildconf.bat
CODING_STANDARDS Update CODING_STANDARDS 2014-11-23 17:14:32 -08:00
config.guess config.guess: add ppc64le / ppcle support by Anton Blanchard <anton@samba.org> 2014-08-28 00:44:31 +03:00
config.sub
configure.in 5.6.12 next 2015-06-25 00:21:45 +02:00
CREDITS
EXTENSIONS Added info about ext/opcache 2014-10-08 21:48:44 +04:00
footer
genfiles make it possible to set the re2c and yacc paths via environment variables for genfiles 2015-06-11 00:13:08 +02:00
header Bump header year 2015-03-01 15:03:21 +08:00
INSTALL typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-23 14:33:43 -08:00
LICENSE Update year 2015-01-17 13:21:20 +08:00
ltmain.sh
makedist
Makefile.frag Fix phpdbg.1 man page installation when build != src directory 2014-07-05 13:05:05 +01:00
Makefile.gcov fix gcov data with some locales (again) 2014-06-03 17:22:16 -04:00
Makefile.global let make test report the run-test result 2014-07-18 15:33:59 -07:00
makerpm
NEWS Merge branch 'pull-request/1350' into PHP-5.4 2015-06-28 20:18:56 -07:00
php5.spec.in
php.gif
php.ini-development Merge branch 'PHP-5.5' into PHP-5.6 2014-11-23 16:13:58 -08:00
php.ini-production Merge branch 'PHP-5.5' into PHP-5.6 2014-11-23 16:13:58 -08:00
README.EXT_SKEL
README.GIT-RULES update the GIT-RULES with the 5.6 and the release branches 2014-08-27 00:47:09 +02:00
README.input_filter
README.MAILINGLIST_RULES
README.md Update README.md 2014-07-17 15:43:24 +01:00
README.namespaces drop exec perm on doc files 2014-06-05 17:45:22 +02:00
README.NEW-OUTPUT-API
README.PARAMETER_PARSING_API
README.REDIST.BINS
README.RELEASE_PROCESS Merge branch 'PHP-5.4' into PHP-5.5 2015-04-17 10:06:31 -07:00
README.SELF-CONTAINED-EXTENSIONS
README.STREAMS
README.SUBMITTING_PATCH
README.TESTING
README.TESTING2 typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-23 14:33:43 -08:00
README.UNIX-BUILD-SYSTEM
README.WIN32-BUILD-SYSTEM
run-tests.php Merge branch 'PHP-5.5' into PHP-5.6 2014-12-04 11:12:32 +01:00
server-tests-config.php typofixes 2014-08-17 15:44:02 +03:00
server-tests.php typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-23 14:33:43 -08:00
snapshot
stamp-h.in
stub.c
UPGRADING Revert "Merge branch 'PHP-5.5' into PHP-5.6" 2015-04-01 12:49:25 -07:00
UPGRADING.INTERNALS better heading for UPGRADING.INTERNALS 2014-08-26 00:31:36 +02:00
vcsclean Removed cvsclean and svnclean tools 2014-06-08 19:27:58 -07:00

The PHP Interpreter

This is the github mirror of the official PHP repository located at http://git.php.net.

Build Status

Pull Requests

PHP accepts pull requests via github. Discussions are done on github, but depending on the topic can also be relayed to the official PHP developer mailinglist internals@lists.php.net.

New features require an RFC and must be accepted by the developers. See https://wiki.php.net/rfc and https://wiki.php.net/rfc/voting for more information on the process.

Bug fixes do not require an RFC, but require a bugtracker ticket. Always open a ticket at https://bugs.php.net and reference the bug id using #NNNNNN.

Fix #55371: get_magic_quotes_gpc() throws deprecation warning

After removing magic quotes, the get_magic_quotes_gpc function caused
a deprecate warning. get_magic_quotes_gpc can be used to detected
the magic_quotes behavior and therefore should not raise a warning at any
time. The patch removes this warning

We do not merge pull requests directly on github. All PRs will be pulled and pushed through http://git.php.net.

Guidelines for contributors