]>
granicus.if.org Git - php/log
Etienne Kneuss [Fri, 12 Aug 2011 21:46:40 +0000 (21:46 +0000)]
Fix CID 1211, unused intern variable
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
Ulf Wendel [Fri, 12 Aug 2011 11:51:44 +0000 (11:51 +0000)]
MySQL 5.6 fractional seconds and PS
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?
Ulf Wendel [Fri, 12 Aug 2011 11:23:16 +0000 (11:23 +0000)]
Andrey, please have a look. This should not cause errors.
Xinchen Hui [Fri, 12 Aug 2011 07:47:03 +0000 (07:47 +0000)]
Omitted GCC warning "comparison is always false"
Uwe Schindler [Thu, 11 Aug 2011 20:25:24 +0000 (20:25 +0000)]
Bug #55403: Don't set $_SERVER['HTTPS'] on unsecure connection
Ilia Alshanetsky [Thu, 11 Aug 2011 13:02:16 +0000 (13:02 +0000)]
Missing file relating to previous commit
Ilia Alshanetsky [Thu, 11 Aug 2011 13:01:52 +0000 (13:01 +0000)]
Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path)
Pierre Joye [Thu, 11 Aug 2011 07:11:39 +0000 (07:11 +0000)]
- fix build (introduce by r314641)
Dmitry Stogov [Thu, 11 Aug 2011 06:38:42 +0000 (06:38 +0000)]
Fixed possible memory leak
Rasmus Lerdorf [Wed, 10 Aug 2011 17:40:56 +0000 (17:40 +0000)]
Use HOST_NAME_MAX constant here instead for the gethostname() func
Derick Rethans [Wed, 10 Aug 2011 16:34:39 +0000 (16:34 +0000)]
- Getting rid of the BOM.
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.
Ilia Alshanetsky [Wed, 10 Aug 2011 15:59:32 +0000 (15:59 +0000)]
Fix win32 build
Ilia Alshanetsky [Wed, 10 Aug 2011 15:30:07 +0000 (15:30 +0000)]
Fixed memset usage (identified by coverity)
Andrey Hristov [Wed, 10 Aug 2011 14:12:24 +0000 (14:12 +0000)]
relax constraint
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)
Xinchen Hui [Wed, 10 Aug 2011 11:59:11 +0000 (11:59 +0000)]
Eliminated compiler's warnings
Michael Wallner [Wed, 10 Aug 2011 11:01:09 +0000 (11:01 +0000)]
fix coverity issue 1054: missing break/return
Pierrick Charron [Wed, 10 Aug 2011 01:12:52 +0000 (01:12 +0000)]
Remove unused variable
Nuno Lopes [Tue, 9 Aug 2011 21:53:44 +0000 (21:53 +0000)]
terminate timeouting processes with SIGKILL (9)
Scott MacVicar [Tue, 9 Aug 2011 18:12:06 +0000 (18:12 +0000)]
Fix building of pure C++ extensions as static
Scott MacVicar [Tue, 9 Aug 2011 15:27:25 +0000 (15:27 +0000)]
Fix typos in UPGRADING
Rui Hirokawa [Tue, 9 Aug 2011 15:11:51 +0000 (15:11 +0000)]
MFH: update the news.
Ilia Alshanetsky [Tue, 9 Aug 2011 14:11:56 +0000 (14:11 +0000)]
Make static analyzers happy
Ilia Alshanetsky [Tue, 9 Aug 2011 13:10:57 +0000 (13:10 +0000)]
Minimize stack usage and added missing dtors
Xinchen Hui [Tue, 9 Aug 2011 12:16:58 +0000 (12:16 +0000)]
Avoiding strcpy, strcat, sprintf usage to make static analyzer happy
Xinchen Hui [Tue, 9 Aug 2011 09:35:42 +0000 (09:35 +0000)]
Avoiding strcpy usage, Make static analyzer happy
Scott MacVicar [Tue, 9 Aug 2011 07:31:34 +0000 (07:31 +0000)]
Update SQLite3 to the latest version
Xinchen Hui [Tue, 9 Aug 2011 05:11:19 +0000 (05:11 +0000)]
Eliminated compiler's warnings and make static analyzer silent
Pierrick Charron [Tue, 9 Aug 2011 02:42:25 +0000 (02:42 +0000)]
Remove unused variable
Pierrick Charron [Tue, 9 Aug 2011 02:37:02 +0000 (02:37 +0000)]
Remove unused variable
Gustavo André dos Santos Lopes [Tue, 9 Aug 2011 00:40:45 +0000 (00:40 +0000)]
- Elided unused argument in internal linkage function.
Xinchen Hui [Mon, 8 Aug 2011 16:57:46 +0000 (16:57 +0000)]
Remove unnecessary(no sense) memset and making the static analyzer silent
Ilia Alshanetsky [Mon, 8 Aug 2011 16:49:43 +0000 (16:49 +0000)]
Another build fix relating to previous DOM commit
Rui Hirokawa [Mon, 8 Aug 2011 16:15:39 +0000 (16:15 +0000)]
MFH: reduced memory footprint for codepages.
Ilia Alshanetsky [Mon, 8 Aug 2011 16:06:40 +0000 (16:06 +0000)]
Fixed build
Etienne Kneuss [Mon, 8 Aug 2011 14:54:50 +0000 (14:54 +0000)]
Fix typo
Ilia Alshanetsky [Mon, 8 Aug 2011 13:45:18 +0000 (13:45 +0000)]
Removal of deadcode identified by coverity
Ilia Alshanetsky [Mon, 8 Aug 2011 12:14:58 +0000 (12:14 +0000)]
Removed deadcode
Ilia Alshanetsky [Mon, 8 Aug 2011 12:10:27 +0000 (12:10 +0000)]
Make static analyzers happy
Pierrick Charron [Mon, 8 Aug 2011 11:30:56 +0000 (11:30 +0000)]
Fix typo
Pierrick Charron [Mon, 8 Aug 2011 11:19:49 +0000 (11:19 +0000)]
Use snprintf to make the static analyzers happy
Xinchen Hui [Mon, 8 Aug 2011 08:49:55 +0000 (08:49 +0000)]
Sizeof mismatch
Derick Rethans [Mon, 8 Aug 2011 07:42:58 +0000 (07:42 +0000)]
- Document the new ZEND_DONT_UNLOAD_MODULES environment variable.
Xinchen Hui [Mon, 8 Aug 2011 07:12:12 +0000 (07:12 +0000)]
Prevented the warning about truncate int to char
Xinchen Hui [Mon, 8 Aug 2011 06:49:17 +0000 (06:49 +0000)]
Make codes more clearly, and make the static analyzer silent..
Pierrick Charron [Mon, 8 Aug 2011 03:08:59 +0000 (03:08 +0000)]
Use snprintf and strncat to make the static analyzers happy
Xinchen Hui [Mon, 8 Aug 2011 02:33:03 +0000 (02:33 +0000)]
Wrong sizeof
Xinchen Hui [Mon, 8 Aug 2011 00:47:40 +0000 (00:47 +0000)]
Remove no sense statements
Ilia Alshanetsky [Mon, 8 Aug 2011 00:07:54 +0000 (00:07 +0000)]
Avoid strcpy() usage
Ilia Alshanetsky [Sun, 7 Aug 2011 23:46:00 +0000 (23:46 +0000)]
Fixes for variety of issues identified by coverity scan
Gwynne Raskind [Sun, 7 Aug 2011 18:12:52 +0000 (18:12 +0000)]
possible use without init fixed
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
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.
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
Rasmus Lerdorf [Sun, 7 Aug 2011 15:52:46 +0000 (15:52 +0000)]
Signed 1-bit bitfields make no sense
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.
Rasmus Lerdorf [Sun, 7 Aug 2011 15:38:36 +0000 (15:38 +0000)]
Make static analyzers happy
Gwynne Raskind [Sun, 7 Aug 2011 15:12:34 +0000 (15:12 +0000)]
Fixes build issues with ext/intl. This appears to be related to bug #55019, but since the functions in question are used elsewhere, the solution is to de-inline rather than to make them static inline.
Gwynne Raskind [Sun, 7 Aug 2011 15:09:42 +0000 (15:09 +0000)]
fix for bug #55019
Gwynne Raskind [Sun, 7 Aug 2011 15:07:53 +0000 (15:07 +0000)]
Add missing php.h include
Xinchen Hui [Sun, 7 Aug 2011 14:25:30 +0000 (14:25 +0000)]
revert -r314422
No need to check erealloc's return
Xinchen Hui [Sun, 7 Aug 2011 13:19:04 +0000 (13:19 +0000)]
Fixed bug that may dereferenced NULL pointer before checking
Felipe Pena [Sun, 7 Aug 2011 13:04:02 +0000 (13:04 +0000)]
- Revert r314387
(property_info.name has the mangled name)
Xinchen Hui [Sun, 7 Aug 2011 11:13:27 +0000 (11:13 +0000)]
Initialize variable with fixed value for avoiding compile warnings
Pierrick Charron [Sun, 7 Aug 2011 06:37:22 +0000 (06:37 +0000)]
Remove unused variables
Pierrick Charron [Sun, 7 Aug 2011 06:19:43 +0000 (06:19 +0000)]
function_name cannot be false
Pierrick Charron [Sun, 7 Aug 2011 06:04:11 +0000 (06:04 +0000)]
class entry is never used
Pierrick Charron [Sun, 7 Aug 2011 05:46:31 +0000 (05:46 +0000)]
Pointer returned is never used
Gwynne Raskind [Sun, 7 Aug 2011 05:20:49 +0000 (05:20 +0000)]
Fix build under Clang 2.9 - see LLVM bug #9164 (http://llvm.org/bugs/show_bug.cgi?id=9164). Tested with GCC and Clang on Darwin and Ubuntu.
Rasmus Lerdorf [Sun, 7 Aug 2011 03:25:19 +0000 (03:25 +0000)]
Good catch Coverity
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
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
Rasmus Lerdorf [Sun, 7 Aug 2011 00:25:22 +0000 (00:25 +0000)]
Use snprintf here instead to make the static analyzers happy.
Rasmus Lerdorf [Sun, 7 Aug 2011 00:18:38 +0000 (00:18 +0000)]
These naked strcpy()s scare me
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
Rasmus Lerdorf [Sat, 6 Aug 2011 23:42:52 +0000 (23:42 +0000)]
Avoid a potential double-free here
Rasmus Lerdorf [Sat, 6 Aug 2011 23:34:13 +0000 (23:34 +0000)]
Not our issue, but fixing here for now and reporting upstream
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
Felipe Pena [Sat, 6 Aug 2011 15:57:36 +0000 (15:57 +0000)]
- Added change to UPGRADING
Rui Hirokawa [Sat, 6 Aug 2011 15:24:31 +0000 (15:24 +0000)]
MFH: changed mapping of 0xa5 for SJIS-mac to prevent XSS.
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[]
Rui Hirokawa [Sat, 6 Aug 2011 12:19:33 +0000 (12:19 +0000)]
MFH: fixed encoding conversion when http_input=auto.
Rui Hirokawa [Sat, 6 Aug 2011 04:28:26 +0000 (04:28 +0000)]
MFH: improved error handling for ill-formed utf-8 based on the Unicode recommendation.
Rui Hirokawa [Sat, 6 Aug 2011 02:22:38 +0000 (02:22 +0000)]
MFH: added ill-formed utf-8 check for 0xEDXXXX.
Rui Hirokawa [Sat, 6 Aug 2011 01:49:10 +0000 (01:49 +0000)]
MFH (updated libmbfl version to 1.3.1).
Felipe Pena [Sat, 6 Aug 2011 01:22:27 +0000 (01:22 +0000)]
- Added missing PHP_FE_END/ZEND_FE_END
Felipe Pena [Sat, 6 Aug 2011 00:59:21 +0000 (00:59 +0000)]
- Fixed bug #55313 (Number of retries not set when params specified)
patch by: kevin at kevinlocke dot name
Rasmus Lerdorf [Fri, 5 Aug 2011 22:39:40 +0000 (22:39 +0000)]
efree match_sets on an error here - found by Coverity
Rasmus Lerdorf [Fri, 5 Aug 2011 22:26:16 +0000 (22:26 +0000)]
Another potential missing va_end() found by Coverity
Christopher Jones [Fri, 5 Aug 2011 22:18:50 +0000 (22:18 +0000)]
Improve test portabilty
Rasmus Lerdorf [Fri, 5 Aug 2011 22:18:42 +0000 (22:18 +0000)]
Fix missing va_end() found by Coverity
Andrey Hristov [Fri, 5 Aug 2011 13:39:30 +0000 (13:39 +0000)]
Fix for bug #55283 SSL options set by mysqli_ssl_set ignored for MySQLi persistent connections
Rui Hirokawa [Fri, 5 Aug 2011 04:34:16 +0000 (04:34 +0000)]
MFH (added check for invalid utf-8 encoding).
Rui Hirokawa [Thu, 4 Aug 2011 12:51:40 +0000 (12:51 +0000)]
MFH (removed obsolete/invalid 5,6 byte encoding of UTF-8 from mbstring/libmbfl based on Unicode 5.2.
Felipe Pena [Thu, 4 Aug 2011 10:56:59 +0000 (10:56 +0000)]
- Added missing check (thanks neweracracker at gmail dot com)
Andrey Hristov [Thu, 4 Aug 2011 09:51:26 +0000 (09:51 +0000)]
Add mysqli_error_list() that returns an array with errors. Typically only
one and just one for libmysql. mysqlnd can return generate more than one error
during its work and with mysqli_error() only the last error is being reported.
In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found.
The list is reset when the next command is executed
Felipe Pena [Thu, 4 Aug 2011 00:59:43 +0000 (00:59 +0000)]
- Fixed possible efree(NULL) (bug #55296)