Commit Graph

46478 Commits

Author SHA1 Message Date
Andrey Hristov
0e71a58662 Fix second bug in that code, + instead of += thus not increasing
a pointer and mangling data. Again, ext/mysql and ext/mysqli doesn't
have access to this codepath.
2010-02-01 17:12:40 +00:00
Pierre Joye
46f253aa5b - system/version dependent msg 2010-02-01 16:19:27 +00:00
Andrey Hristov
228b68bbab Fix a bug in mysqlnd where a pointer was not incremented
and thus wrong data was saved MYSQLND_FIELD::db. However, this
wasn't caught because there is no code in mysql/mysqli/pdo_mysql
which reads that field of the structure. The problem was found
during code review.
2010-02-01 16:12:03 +00:00
Pierre Joye
dd2703acb9 - oops, wrong one applied, fix build. 2010-02-01 15:31:58 +00:00
Pierre Joye
7f87845379 - set errno on failure so that the caller can still rely on strerror (reporting wrong error w/o this change) 2010-02-01 15:22:31 +00:00
Pierre Joye
ba61a7fde5 - fix system/version dependent msg, add skip cases, sync 2010-02-01 15:18:55 +00:00
Pierre Joye
d3cca26c3a - try again to get a crypto context when the key container did not exist (which is likely to be the case, on a 1st call) 2010-02-01 14:56:51 +00:00
Etienne Kneuss
3c82980666 Fix #48667 (Implementing Iterator and IteratorAggregate is now restricted in both orders) 2010-02-01 13:45:57 +00:00
Ilia Alshanetsky
1b1f5e9064 Fixed bug #50847 (strip_tags() removes all tags greater then 1023 bytes long) 2010-02-01 12:59:08 +00:00
Ulf Wendel
64bb53fe25 Tests related to #50727 2010-02-01 12:18:50 +00:00
Mikko Koppanen
1b9c1a1748 Update the libmagic.patch to reflect the current situation. Contains a diff against upstream 5.03 2010-01-31 22:54:00 +00:00
Gwynne Raskind
c316540ac9 ZEND_EXTERN_MODULE_GLOBALS() is necessary with ZTS, at least on OS X. How confusing. (Forgot to commit to trunk/ before, sorry) 2010-01-31 20:04:10 +00:00
Ilia Alshanetsky
0f437c3a09 Fixed crash in ZTS mode due to ini values not being initialized 2010-01-31 19:18:56 +00:00
Ilia Alshanetsky
7bf62c33af Fixed a possible open_basedir/safe_mode bypass in session extension identified by Grzegorz Stachowiak. 2010-01-31 18:06:29 +00:00
Rasmus Lerdorf
981faa6754 Blah, PDO_DBG_ENABLED is a 0/1 toggle 2010-01-31 17:07:31 +00:00
Rasmus Lerdorf
9e4e4922bb RINIT/RSHUTDOWN do nothing unless PDO_DBG_ENABLED is defined,
so don't waste time calling them on every request.
2010-01-31 16:56:52 +00:00
Pierre Joye
cc100ddd55 - fix leak 2010-01-31 15:22:17 +00:00
Pierre Joye
5eac4626fb - fix skip clauses 2010-01-30 21:24:04 +00:00
Pierre Joye
f29f31f846 - fix test init 2010-01-30 21:12:20 +00:00
Pierre Joye
d8cc75a457 - fix write access check when write mode only is requested (not RW) 2010-01-30 20:55:01 +00:00
Pierre Joye
46349e1ebe - cleanup & correct msg 2010-01-30 20:21:16 +00:00
Pierre Joye
a39f8c1f02 - this value is platform dependent (unix too) 2010-01-30 20:14:36 +00:00
Pierre Joye
9b9c37d25a - cs 2010-01-30 17:56:00 +00:00
Pierre Joye
c774b75b5b - fix test, rewrite it (same cases are tested), CS, simplify, be verbose on error not otherwise (avoid infinite loop in pcre_match inside run-test) 2010-01-30 17:06:06 +00:00
Pierre Joye
3816328d10 - fix test 2010-01-28 21:29:00 +00:00
Pierre Joye
482f4376f3 - more EOL fixes, don't use expectf 2010-01-28 00:37:20 +00:00
Pierre Joye
2b3997d898 - fix possible EOL conversion on svn co on windows 2010-01-28 00:05:37 +00:00
Pierre Joye
0e0386cc67 - skip if not enough permission and add to trunk 2010-01-27 23:54:52 +00:00
Pierre Joye
774ce60c12 - fix leak 2010-01-27 16:52:36 +00:00
Pierre Joye
76f7c2851e - don't go through the reparse code when we have a share or DFS path (should fix #50542) 2010-01-27 16:46:43 +00:00
Pierre Joye
32bbeb6bee - little comment to avoid undesired changes in this section 2010-01-27 16:44:48 +00:00
Pierre Joye
93d9913e3f - fix leak, win only 2010-01-27 16:43:16 +00:00
Pierre Joye
eb37a5d425 - fix leak when the SID is already used and duplicated 2010-01-27 14:41:06 +00:00
Ilia Alshanetsky
78f14ac46f Fixed bug #50859 (build fails with openssl 1.0 due to md2 deprecation) 2010-01-27 12:55:01 +00:00
Pierre Joye
a6b0b54e40 - update/fix/skip/add for rename tests 2010-01-27 11:23:43 +00:00
Pierre Joye
34930061d8 - #50854, fix build on non windows, svn merge is useless. 2010-01-27 10:36:03 +00:00
Pierre Joye
2997a61fbb - fix and update test according to recent fixes 2010-01-27 10:08:43 +00:00
Pierre Joye
a695846ced - fix and update test according to recent fixes 2010-01-27 09:47:17 +00:00
Pierre Joye
f13ece5f30 - #50854, fix build on non windows 2010-01-27 07:48:31 +00:00
Pierre Joye
243061663a - removed debug breakpoint and improve inline comment 2010-01-27 02:03:41 +00:00
Pierre Joye
6e6334342b - prevent bad things to happen when invalid path are passed to MoveFileEx 2010-01-27 01:18:43 +00:00
Pierre Joye
19b146c9c1 - [DOC] #45986, bad file descriptor warning when rename is used with invalid path, add php_win32_docref2_from_error to display system error for non posix api 2010-01-26 20:04:03 +00:00
Ilia Alshanetsky
ec2f3920b7 Fixed bug #50829 (php.ini directive pdo_mysql.default_socket is ignored) 2010-01-26 13:15:52 +00:00
Nuno Lopes
562d8d986f merge r294022. 5.2 branch doesnt need it 2010-01-25 22:51:52 +00:00
Jani Taskinen
249ce5e141 - Fixed bug #50832 (HTTP fopen wrapper does not support passwordless HTTP authentication) 2010-01-25 16:28:13 +00:00
Pierre Joye
6cf9269fa0 - Ensure that stderr output are not buffered, portability for tests 2010-01-25 14:47:19 +00:00
Pierre Joye
2c3e14e47a - make it work on win, simplify expect using expectf 2010-01-25 13:49:47 +00:00
Andrey Hristov
4dbaaae979 Fix for bug#50772
mysqli constructor without parameters does not return a working mysqli object
2010-01-25 13:23:32 +00:00
Ilia Alshanetsky
d2127c143a Added test case for bug #44827 2010-01-25 13:08:43 +00:00
Pierre Joye
b330450ff7 - ws 2010-01-25 09:01:22 +00:00