Commit Graph

61368 Commits

Author SHA1 Message Date
Ilia Alshanetsky
ca739da423 Removed deadcode 2011-08-08 12:14:58 +00:00
Ilia Alshanetsky
4122a1dd9a Make static analyzers happy 2011-08-08 12:10:27 +00:00
Pierrick Charron
e17b5f7e1d Fix typo 2011-08-08 11:30:56 +00:00
Pierrick Charron
d0a4c01099 Use snprintf to make the static analyzers happy 2011-08-08 11:19:49 +00:00
Xinchen Hui
a8a0a6c3f1 Sizeof mismatch 2011-08-08 08:49:55 +00:00
Derick Rethans
4a73e35168 - Document the new ZEND_DONT_UNLOAD_MODULES environment variable. 2011-08-08 07:42:58 +00:00
Xinchen Hui
43301dae9b Prevented the warning about truncate int to char 2011-08-08 07:12:12 +00:00
Xinchen Hui
a7852bcb00 Make codes more clearly, and make the static analyzer silent.. 2011-08-08 06:49:17 +00:00
Pierrick Charron
ed7b3e703e Use snprintf and strncat to make the static analyzers happy 2011-08-08 03:08:59 +00:00
Xinchen Hui
dbd405a001 Wrong sizeof 2011-08-08 02:33:03 +00:00
Xinchen Hui
fb617c33d4 Remove no sense statements 2011-08-08 00:47:40 +00:00
Ilia Alshanetsky
1271828ee4 Avoid strcpy() usage 2011-08-08 00:07:54 +00:00
Ilia Alshanetsky
9db1c59325 Fixes for variety of issues identified by coverity scan 2011-08-07 23:46:00 +00:00
Gwynne Raskind
265367e816 possible use without init fixed 2011-08-07 18:12:52 +00:00
Derick Rethans
3ed828a892 - Fixed bug #55378: binary number literal returns float number though its value
is enough small
2011-08-07 17:36:31 +00:00
Gwynne Raskind
ef0e34580b For 5.4, fix C++-style comments. For trunk, forward-port build fix. 2011-08-07 16:31:21 +00:00
Rasmus Lerdorf
d4a716b19d Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
static string copies
2011-08-07 16:10:34 +00:00
Rasmus Lerdorf
46a484e739 Signed 1-bit bitfields make no sense 2011-08-07 15:52:46 +00:00
Rasmus Lerdorf
ee729585b3 Not an issue here, but a good habit to follow consistently. Never use strcpy/strcat. 2011-08-07 15:45:18 +00:00
Rasmus Lerdorf
cc19cc8b18 Make static analyzers happy 2011-08-07 15:38:36 +00:00
Gwynne Raskind
e8281417fd 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. 2011-08-07 15:12:34 +00:00
Gwynne Raskind
a1d6eaf6d6 fix for bug #55019 2011-08-07 15:09:42 +00:00
Gwynne Raskind
1607c8901d Add missing php.h include 2011-08-07 15:07:53 +00:00
Xinchen Hui
376a04e14f revert -r314422
No need to check erealloc's return
2011-08-07 14:25:30 +00:00
Xinchen Hui
59b7b2701c Fixed bug that may dereferenced NULL pointer before checking 2011-08-07 13:19:04 +00:00
Felipe Pena
619cfeef46 - Revert r314387
(property_info.name has the mangled name)
2011-08-07 13:04:02 +00:00
Xinchen Hui
cc42ac9d9b Initialize variable with fixed value for avoiding compile warnings 2011-08-07 11:13:27 +00:00
Pierrick Charron
e03d19a00e Remove unused variables 2011-08-07 06:37:22 +00:00
Pierrick Charron
b90059120d function_name cannot be false 2011-08-07 06:19:43 +00:00
Pierrick Charron
a8ed880c64 class entry is never used 2011-08-07 06:04:11 +00:00
Pierrick Charron
4f0c7670ea Pointer returned is never used 2011-08-07 05:46:31 +00:00
Gwynne Raskind
0af1e412a4 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. 2011-08-07 05:20:49 +00:00
Rasmus Lerdorf
1c3d13e65f Good catch Coverity 2011-08-07 03:25:19 +00:00
Rasmus Lerdorf
80931fee0c 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
2011-08-07 00:50:46 +00:00
Rasmus Lerdorf
b7a92c9709 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
2011-08-07 00:36:26 +00:00
Rasmus Lerdorf
99cb211c6c Use snprintf here instead to make the static analyzers happy. 2011-08-07 00:25:22 +00:00
Rasmus Lerdorf
5a448d23b2 These naked strcpy()s scare me 2011-08-07 00:18:38 +00:00
Rasmus Lerdorf
e2315d295a Use property_info.name here instead since *name might be free'ed at this point
@dmitry please review
2011-08-07 00:01:17 +00:00
Rasmus Lerdorf
9eb19ae2bf Avoid a potential double-free here 2011-08-06 23:42:52 +00:00
Rasmus Lerdorf
d03961b23b Not our issue, but fixing here for now and reporting upstream 2011-08-06 23:34:13 +00:00
Rasmus Lerdorf
6379f87b31 Fix another Coverity warning by initializing this to NULL prior to the strtok_r call 2011-08-06 21:10:29 +00:00
Felipe Pena
75a54edf5a - Added change to UPGRADING 2011-08-06 15:57:36 +00:00
Rui Hirokawa
274799678f MFH: changed mapping of 0xa5 for SJIS-mac to prevent XSS. 2011-08-06 15:24:31 +00:00
Felipe Pena
707a8f70b8 - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Rui Hirokawa
786d8e7bc2 MFH: fixed encoding conversion when http_input=auto. 2011-08-06 12:19:33 +00:00
Rui Hirokawa
5709c83d93 MFH: improved error handling for ill-formed utf-8 based on the Unicode recommendation. 2011-08-06 04:28:26 +00:00
Rui Hirokawa
d322b26fb4 MFH: added ill-formed utf-8 check for 0xEDXXXX. 2011-08-06 02:22:38 +00:00
Rui Hirokawa
7bc77208f3 MFH (updated libmbfl version to 1.3.1). 2011-08-06 01:49:10 +00:00
Felipe Pena
783b05326a - Added missing PHP_FE_END/ZEND_FE_END 2011-08-06 01:22:27 +00:00
Felipe Pena
7c1cb26937 - Fixed bug #55313 (Number of retries not set when params specified)
patch by: kevin at kevinlocke dot name
2011-08-06 00:59:21 +00:00