]> granicus.if.org Git - php/log
php
13 years agoFixed Bug #55372 Incorrect handling of literals led to memory corruption.
Stefan Marr [Mon, 15 Aug 2011 09:54:06 +0000 (09:54 +0000)]
Fixed Bug #55372 Incorrect handling of literals led to memory corruption.
# Dmitry you might want to review this patch, since I split up zend_add_literal
# and added a version for post-pass_two() usage.

13 years agoAddendum for patch to bug #55214: Class name was freed before method literal referrin...
Stefan Marr [Mon, 15 Aug 2011 08:29:48 +0000 (08:29 +0000)]
Addendum for patch to bug #55214: Class name was freed before method literal referring to it.
# Thanks to Felipe for catching this.
# The fix duplicates the name into the literal to avoid the dependency

13 years agoNEWS update for mbstring.
Rui Hirokawa [Sun, 14 Aug 2011 14:09:54 +0000 (14:09 +0000)]
NEWS update for mbstring.

13 years agoadded gb18030 encoding to mbstring/libmbfl.~
Rui Hirokawa [Sun, 14 Aug 2011 14:09:11 +0000 (14:09 +0000)]
added gb18030 encoding to mbstring/libmbfl.~

13 years agofixed compile warning.
Rui Hirokawa [Sat, 13 Aug 2011 13:17:36 +0000 (13:17 +0000)]
fixed compile warning.

13 years agofixed win32 build.
Rui Hirokawa [Sat, 13 Aug 2011 12:53:40 +0000 (12:53 +0000)]
fixed win32 build.

13 years agoadded UTF-8-Mobile for pictogram support.
Rui Hirokawa [Sat, 13 Aug 2011 12:44:28 +0000 (12:44 +0000)]
added UTF-8-Mobile for pictogram support.

13 years agoMore test portability fixes mostly for gcov.php.net
Christopher Jones [Sat, 13 Aug 2011 00:43:34 +0000 (00:43 +0000)]
More test portability fixes mostly for gcov.php.net

13 years agoFix CID 593 Mark the missing break by an explicit comment, we DO intend to fall throu...
Etienne Kneuss [Fri, 12 Aug 2011 22:20:35 +0000 (22:20 +0000)]
Fix CID 593 Mark the missing break by an explicit comment, we DO intend to fall through here

13 years agoFix CID 538/539, explicitely check for something that should never occur
Etienne Kneuss [Fri, 12 Aug 2011 22:05:10 +0000 (22:05 +0000)]
Fix CID 538/539, explicitely check for something that should never occur

13 years agoFix CID 1211, unused intern variable
Etienne Kneuss [Fri, 12 Aug 2011 21:46:40 +0000 (21:46 +0000)]
Fix CID 1211, unused intern variable

13 years agoprevent a crash if cs is NULL, which can happen with MS and lazy connections
Andrey Hristov [Fri, 12 Aug 2011 14:55:00 +0000 (14:55 +0000)]
prevent a crash if cs is NULL, which can happen with MS and lazy connections

13 years agoMySQL 5.6 fractional seconds and PS
Ulf Wendel [Fri, 12 Aug 2011 11:51:44 +0000 (11:51 +0000)]
MySQL 5.6 fractional seconds and PS

13 years agoAndrey, please have a look. Not sure if the test is correct, e.g. MySQL 5.5.3+ really...
Ulf Wendel [Fri, 12 Aug 2011 11:23:36 +0000 (11:23 +0000)]
Andrey, please have a look. Not sure if the test is correct, e.g. MySQL 5.5.3+ really needed?

13 years agoAndrey, please have a look. This should not cause errors.
Ulf Wendel [Fri, 12 Aug 2011 11:23:16 +0000 (11:23 +0000)]
Andrey, please have a look. This should not cause errors.

13 years agoOmitted GCC warning "comparison is always false"
Xinchen Hui [Fri, 12 Aug 2011 07:47:03 +0000 (07:47 +0000)]
Omitted GCC warning "comparison is always false"

13 years agoBug #55403: Don't set $_SERVER['HTTPS'] on unsecure connection
Uwe Schindler [Thu, 11 Aug 2011 20:25:24 +0000 (20:25 +0000)]
Bug #55403: Don't set $_SERVER['HTTPS'] on unsecure connection

13 years agoFixed bug #55399 (parse_url() incorrectly treats ':' as a valid path)
Ilia Alshanetsky [Thu, 11 Aug 2011 13:01:52 +0000 (13:01 +0000)]
Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path)

13 years agoRecored change into regex.patch
Xinchen Hui [Thu, 11 Aug 2011 07:52:04 +0000 (07:52 +0000)]
Recored change into regex.patch

13 years ago- fix build (introduce by r314641)
Pierre Joye [Thu, 11 Aug 2011 07:11:39 +0000 (07:11 +0000)]
- fix build (introduce by r314641)

13 years agoFixed possible memory leak
Dmitry Stogov [Thu, 11 Aug 2011 06:38:42 +0000 (06:38 +0000)]
Fixed possible memory leak

13 years agoUse HOST_NAME_MAX constant here instead for the gethostname() func
Rasmus Lerdorf [Wed, 10 Aug 2011 17:40:56 +0000 (17:40 +0000)]
Use HOST_NAME_MAX constant here instead for the gethostname() func

13 years ago- Turn on html_errors by default again in php.ini-production like it was in
Derick Rethans [Wed, 10 Aug 2011 16:31:29 +0000 (16:31 +0000)]
- Turn on html_errors by default again in php.ini-production like it was in
  PHP 5.3, but only generate docref links when the docref_root INI setting is
  not empty.

13 years agoFix win32 build
Ilia Alshanetsky [Wed, 10 Aug 2011 15:59:32 +0000 (15:59 +0000)]
Fix win32 build

13 years agoFixed memset usage (identified by coverity)
Ilia Alshanetsky [Wed, 10 Aug 2011 15:30:07 +0000 (15:30 +0000)]
Fixed memset usage (identified by coverity)

13 years agorelax constraint
Andrey Hristov [Wed, 10 Aug 2011 14:12:24 +0000 (14:12 +0000)]
relax constraint

13 years agoFixed bug #55323 (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION contains...
Dmitry Stogov [Wed, 10 Aug 2011 13:44:48 +0000 (13:44 +0000)]
Fixed bug #55323 (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION contains itself)

13 years agoEliminated compiler's warnings
Xinchen Hui [Wed, 10 Aug 2011 11:59:11 +0000 (11:59 +0000)]
Eliminated compiler's warnings

13 years agofix coverity issue 1054: missing break/return
Michael Wallner [Wed, 10 Aug 2011 11:01:09 +0000 (11:01 +0000)]
fix coverity issue 1054: missing break/return

13 years agoRemove unused variable
Pierrick Charron [Wed, 10 Aug 2011 01:12:52 +0000 (01:12 +0000)]
Remove unused variable

13 years agoterminate timeouting processes with SIGKILL (9)
Nuno Lopes [Tue, 9 Aug 2011 21:53:44 +0000 (21:53 +0000)]
terminate timeouting processes with SIGKILL (9)

13 years agoFix building of pure C++ extensions as static
Scott MacVicar [Tue, 9 Aug 2011 18:12:06 +0000 (18:12 +0000)]
Fix building of pure C++ extensions as static

13 years agoFix typos in UPGRADING
Scott MacVicar [Tue, 9 Aug 2011 15:27:25 +0000 (15:27 +0000)]
Fix typos in UPGRADING

13 years agoupdate the news.
Rui Hirokawa [Tue, 9 Aug 2011 15:11:33 +0000 (15:11 +0000)]
update the news.

13 years agoMake static analyzers happy
Ilia Alshanetsky [Tue, 9 Aug 2011 14:11:56 +0000 (14:11 +0000)]
Make static analyzers happy

13 years agoMinimize stack usage and added missing dtors
Ilia Alshanetsky [Tue, 9 Aug 2011 13:10:57 +0000 (13:10 +0000)]
Minimize stack usage and added missing dtors

13 years agoAvoiding strcpy, strcat, sprintf usage to make static analyzer happy
Xinchen Hui [Tue, 9 Aug 2011 12:16:58 +0000 (12:16 +0000)]
Avoiding strcpy, strcat, sprintf usage to make static analyzer happy

13 years agoAvoiding strcpy usage, Make static analyzer happy
Xinchen Hui [Tue, 9 Aug 2011 09:35:42 +0000 (09:35 +0000)]
Avoiding strcpy usage, Make static analyzer happy

13 years agoUpdate SQLite3 to the latest version
Scott MacVicar [Tue, 9 Aug 2011 07:31:34 +0000 (07:31 +0000)]
Update SQLite3 to the latest version

13 years agoFix an unchecked return - change was back-migrated
Joey Smith [Tue, 9 Aug 2011 06:36:47 +0000 (06:36 +0000)]
Fix an unchecked return - change was back-migrated
from version 3.7.6.3 of sqlite.c from upstream.

13 years agoEliminated compiler's warnings and make static analyzer silent
Xinchen Hui [Tue, 9 Aug 2011 05:11:19 +0000 (05:11 +0000)]
Eliminated compiler's warnings and make static analyzer silent

13 years agoRemove unused variable
Pierrick Charron [Tue, 9 Aug 2011 02:42:25 +0000 (02:42 +0000)]
Remove unused variable

13 years agoRemove unused variable
Pierrick Charron [Tue, 9 Aug 2011 02:37:02 +0000 (02:37 +0000)]
Remove unused variable

13 years ago- Elided unused argument in internal linkage function.
Gustavo André dos Santos Lopes [Tue, 9 Aug 2011 00:40:45 +0000 (00:40 +0000)]
- Elided unused argument in internal linkage function.

13 years agoRemove unnecessary(no sense) memset and making the static analyzer silent
Xinchen Hui [Mon, 8 Aug 2011 16:57:46 +0000 (16:57 +0000)]
Remove unnecessary(no sense) memset and making the static analyzer silent

13 years agoAnother build fix relating to previous DOM commit
Ilia Alshanetsky [Mon, 8 Aug 2011 16:49:43 +0000 (16:49 +0000)]
Another build fix relating to previous DOM commit

13 years agoreduced memory footprint for codepages.
Rui Hirokawa [Mon, 8 Aug 2011 16:14:30 +0000 (16:14 +0000)]
reduced memory footprint for codepages.

13 years agoFixed build
Ilia Alshanetsky [Mon, 8 Aug 2011 16:06:40 +0000 (16:06 +0000)]
Fixed build

13 years agoFix typo
Etienne Kneuss [Mon, 8 Aug 2011 14:52:34 +0000 (14:52 +0000)]
Fix typo

13 years agoRemoval of deadcode identified by coverity
Ilia Alshanetsky [Mon, 8 Aug 2011 13:45:18 +0000 (13:45 +0000)]
Removal of deadcode identified by coverity

13 years agoRemoved deadcode
Ilia Alshanetsky [Mon, 8 Aug 2011 12:14:58 +0000 (12:14 +0000)]
Removed deadcode

13 years agoMake static analyzers happy
Ilia Alshanetsky [Mon, 8 Aug 2011 12:10:27 +0000 (12:10 +0000)]
Make static analyzers happy

13 years agoFix validator for SplFileInfo constructor
Etienne Kneuss [Mon, 8 Aug 2011 12:05:34 +0000 (12:05 +0000)]
Fix validator for SplFileInfo constructor

13 years agoFix typo
Pierrick Charron [Mon, 8 Aug 2011 11:30:56 +0000 (11:30 +0000)]
Fix typo

13 years agoUse snprintf to make the static analyzers happy
Pierrick Charron [Mon, 8 Aug 2011 11:19:49 +0000 (11:19 +0000)]
Use snprintf to make the static analyzers happy

13 years agoSizeof mismatch
Xinchen Hui [Mon, 8 Aug 2011 08:49:55 +0000 (08:49 +0000)]
Sizeof mismatch

13 years ago- Document the new ZEND_DONT_UNLOAD_MODULES environment variable.
Derick Rethans [Mon, 8 Aug 2011 07:42:58 +0000 (07:42 +0000)]
- Document the new ZEND_DONT_UNLOAD_MODULES environment variable.

13 years agoPrevented the warning about truncate int to char
Xinchen Hui [Mon, 8 Aug 2011 07:12:12 +0000 (07:12 +0000)]
Prevented the warning about truncate int to char

13 years agoMake codes more clearly, and make the static analyzer silent..
Xinchen Hui [Mon, 8 Aug 2011 06:49:17 +0000 (06:49 +0000)]
Make codes more clearly, and make the static analyzer silent..

13 years agoUse snprintf and strncat to make the static analyzers happy
Pierrick Charron [Mon, 8 Aug 2011 03:08:59 +0000 (03:08 +0000)]
Use snprintf and strncat to make the static analyzers happy

13 years agoWrong sizeof
Xinchen Hui [Mon, 8 Aug 2011 02:33:03 +0000 (02:33 +0000)]
Wrong sizeof

13 years agoRemove no sense statements
Xinchen Hui [Mon, 8 Aug 2011 00:47:40 +0000 (00:47 +0000)]
Remove no sense statements

13 years agoAvoid strcpy() usage
Ilia Alshanetsky [Mon, 8 Aug 2011 00:07:54 +0000 (00:07 +0000)]
Avoid strcpy() usage

13 years agoFixes for variety of issues identified by coverity scan
Ilia Alshanetsky [Sun, 7 Aug 2011 23:46:00 +0000 (23:46 +0000)]
Fixes for variety of issues identified by coverity scan

13 years agopossible use without init fixed
Gwynne Raskind [Sun, 7 Aug 2011 18:12:52 +0000 (18:12 +0000)]
possible use without init fixed

13 years ago- Fixed bug #55378: binary number literal returns float number though its value
Derick Rethans [Sun, 7 Aug 2011 17:36:31 +0000 (17:36 +0000)]
- Fixed bug #55378: binary number literal returns float number though its value
  is enough small

13 years agoFront- and back-port rev 314431 (missing php.h include)
Gwynne Raskind [Sun, 7 Aug 2011 17:15:40 +0000 (17:15 +0000)]
Front- and back-port rev 314431 (missing php.h include)

13 years agoBack- and front-port fixes for #55019
Gwynne Raskind [Sun, 7 Aug 2011 17:14:14 +0000 (17:14 +0000)]
Back- and front-port fixes for #55019

13 years agoFor 5.4, fix C++-style comments. For trunk, forward-port build fix.
Gwynne Raskind [Sun, 7 Aug 2011 16:31:21 +0000 (16:31 +0000)]
For 5.4, fix C++-style comments. For trunk, forward-port build fix.

13 years agoFix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
Rasmus Lerdorf [Sun, 7 Aug 2011 16:10:34 +0000 (16:10 +0000)]
Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
static string copies

13 years agoMore signed 1-bit bitfields
Rasmus Lerdorf [Sun, 7 Aug 2011 15:57:35 +0000 (15:57 +0000)]
More signed 1-bit bitfields

13 years agoSigned 1-bit bitfields make no sense
Rasmus Lerdorf [Sun, 7 Aug 2011 15:52:46 +0000 (15:52 +0000)]
Signed 1-bit bitfields make no sense

13 years agoNot an issue here, but a good habit to follow consistently. Never use strcpy/strcat.
Rasmus Lerdorf [Sun, 7 Aug 2011 15:45:18 +0000 (15:45 +0000)]
Not an issue here, but a good habit to follow consistently. Never use strcpy/strcat.

13 years agoMake static analyzers happy
Rasmus Lerdorf [Sun, 7 Aug 2011 15:38:36 +0000 (15:38 +0000)]
Make static analyzers happy

13 years agorevert -r314422
Xinchen Hui [Sun, 7 Aug 2011 14:25:30 +0000 (14:25 +0000)]
revert -r314422

No need to check erealloc's return

13 years agoFixed bug that may dereferenced NULL pointer before checking
Xinchen Hui [Sun, 7 Aug 2011 13:19:04 +0000 (13:19 +0000)]
Fixed bug that may dereferenced NULL pointer before checking

13 years ago- Revert r314387
Felipe Pena [Sun, 7 Aug 2011 13:04:02 +0000 (13:04 +0000)]
- Revert r314387
  (property_info.name has the mangled name)

13 years agoInitialize variable with fixed value for avoiding compile warnings
Xinchen Hui [Sun, 7 Aug 2011 11:13:27 +0000 (11:13 +0000)]
Initialize variable with fixed value for avoiding compile warnings

13 years agoRemove unused variables
Pierrick Charron [Sun, 7 Aug 2011 06:37:22 +0000 (06:37 +0000)]
Remove unused variables

13 years agofunction_name cannot be false
Pierrick Charron [Sun, 7 Aug 2011 06:19:43 +0000 (06:19 +0000)]
function_name cannot be false

13 years agoclass entry is never used
Pierrick Charron [Sun, 7 Aug 2011 06:04:11 +0000 (06:04 +0000)]
class entry is never used

13 years agoPointer returned is never used
Pierrick Charron [Sun, 7 Aug 2011 05:46:31 +0000 (05:46 +0000)]
Pointer returned is never used

13 years agoInitialize temp with 0, avoiding compile warning
Xinchen Hui [Sun, 7 Aug 2011 05:24:11 +0000 (05:24 +0000)]
Initialize temp with 0, avoiding compile warning

13 years agoFixed the bug that temp may depend on a uninitialzed value
Xinchen Hui [Sun, 7 Aug 2011 05:19:55 +0000 (05:19 +0000)]
Fixed the bug that temp may depend on a uninitialzed value

13 years agoGood catch Coverity
Rasmus Lerdorf [Sun, 7 Aug 2011 03:25:19 +0000 (03:25 +0000)]
Good catch Coverity

13 years agoSince we have fci_cache = &fci_cache_local inside that block
Rasmus Lerdorf [Sun, 7 Aug 2011 00:50:46 +0000 (00:50 +0000)]
Since we have fci_cache = &fci_cache_local inside that block
and fci_cache is then later used outside the block, fci_cache_local
can't be block-scoped here

13 years agoI'm pretty sure you didn't mean to multiple by the size of a char* there
Rasmus Lerdorf [Sun, 7 Aug 2011 00:36:26 +0000 (00:36 +0000)]
I'm pretty sure you didn't mean to multiple by the size of a char* there
since that makes no sense. output is an array of char, not an array of
char*
Pierre, please review

13 years agoUse snprintf here instead to make the static analyzers happy.
Rasmus Lerdorf [Sun, 7 Aug 2011 00:25:22 +0000 (00:25 +0000)]
Use snprintf here instead to make the static analyzers happy.

13 years agoThese naked strcpy()s scare me
Rasmus Lerdorf [Sun, 7 Aug 2011 00:18:38 +0000 (00:18 +0000)]
These naked strcpy()s scare me

13 years agoUse property_info.name here instead since *name might be free'ed at this point
Rasmus Lerdorf [Sun, 7 Aug 2011 00:01:17 +0000 (00:01 +0000)]
Use property_info.name here instead since *name might be free'ed at this point
@dmitry please review

13 years agoAvoid a potential double-free here
Rasmus Lerdorf [Sat, 6 Aug 2011 23:42:52 +0000 (23:42 +0000)]
Avoid a potential double-free here

13 years agoNot our issue, but fixing here for now and reporting upstream
Rasmus Lerdorf [Sat, 6 Aug 2011 23:34:13 +0000 (23:34 +0000)]
Not our issue, but fixing here for now and reporting upstream

13 years agoFix another Coverity warning by initializing this to NULL prior to the strtok_r call
Rasmus Lerdorf [Sat, 6 Aug 2011 21:10:29 +0000 (21:10 +0000)]
Fix another Coverity warning by initializing this to NULL prior to the strtok_r call

13 years agochanged mapping of 0xa5 for SJIS-mac to prevent security attack.
Rui Hirokawa [Sat, 6 Aug 2011 15:23:06 +0000 (15:23 +0000)]
changed mapping of 0xa5 for SJIS-mac to prevent security attack.

13 years ago- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
Felipe Pena [Sat, 6 Aug 2011 14:47:44 +0000 (14:47 +0000)]
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]

13 years agofixed encoding conversion when http_input=auto.
Rui Hirokawa [Sat, 6 Aug 2011 12:19:16 +0000 (12:19 +0000)]
fixed encoding conversion when http_input=auto.

13 years agoimproved error handling for ill-formed utf-8 based on the Unicode recommendation.
Rui Hirokawa [Sat, 6 Aug 2011 04:25:44 +0000 (04:25 +0000)]
improved error handling for ill-formed utf-8 based on the Unicode recommendation.

13 years agoadded ill-formed utf-8 check for 0xEDXXXX.
Rui Hirokawa [Sat, 6 Aug 2011 02:22:15 +0000 (02:22 +0000)]
added ill-formed utf-8 check for 0xEDXXXX.

13 years agoupdated libmbfl version to 1.3.1.
Rui Hirokawa [Sat, 6 Aug 2011 01:48:45 +0000 (01:48 +0000)]
updated libmbfl version to 1.3.1.

13 years ago- Added missing PHP_FE_END/ZEND_FE_END
Felipe Pena [Sat, 6 Aug 2011 01:22:27 +0000 (01:22 +0000)]
- Added missing PHP_FE_END/ZEND_FE_END