Commit Graph

20149 Commits

Author SHA1 Message Date
Marcus Boerger
512f5dafb8 - Drop left-over 2007-01-20 14:41:04 +00:00
Marcus Boerger
c6ccbf32fb - Make use of get_debug_info() handler in ArrayObject/Iterator 2007-01-20 14:03:59 +00:00
Nuno Lopes
b3bca12cf6 MFB: fix crash & add tests 2007-01-20 12:58:20 +00:00
Nuno Lopes
ed9acc4e04 MFB: fix crash 2007-01-20 12:27:55 +00:00
Marcus Boerger
6640eadc15 - Fix warnings 2007-01-20 12:22:02 +00:00
Greg Beaver
a5dff13465 update TODO to include missing items
move permissions to the lowest bits of flags
fix warnings about signedness
fix unclear /* docs */
2007-01-20 05:28:48 +00:00
Marcus Boerger
4c0b85ba26 - Make use of get_debug_info handler in SplObjectStorage 2007-01-19 23:23:08 +00:00
Antony Dovgal
defcaa9154 fix configure check with imap-2001 2007-01-19 22:33:10 +00:00
Marcus Boerger
549ffc3ab0 - Use Z_OBJDEBUG_PP() 2007-01-19 22:19:39 +00:00
Antony Dovgal
8e06ebbc1f improve utf8_mime2text() signature detection
look also for U8T_CANONICAL, which must exist if new signature was detected
2007-01-19 20:44:52 +00:00
Antony Dovgal
e4cd5235fd fix test 2007-01-19 19:43:25 +00:00
Rob Richards
e053dcc066 fix accessing public key from x509 resource
add test
fix test under win32
2007-01-19 19:23:20 +00:00
Nuno Lopes
7ae095f947 MFB: fix segfaults with new libtidy 2007-01-19 18:57:06 +00:00
Antony Dovgal
d92352967c improve the fix 2007-01-19 18:03:25 +00:00
Antony Dovgal
70863e0395 fix #40169 (CURLOPT_TCP_NODELAY only available in curl >= 7.11.2) 2007-01-19 15:38:02 +00:00
Pierre Joye
198fdf319d - MFB: save/restore the alpha blending mode correctly in imagefill and
imagefilltoborder
2007-01-19 15:16:46 +00:00
Antony Dovgal
c6054b64b0 fix #40168 2007-01-19 14:49:52 +00:00
Marcus Boerger
688125c252 - Update unicode progress on SPL, looks like nearly done, actually all is
unicode safe by now but a few things need to be added and a few problems
  be clarified.
# I wonder why my keyboard has space issues...it should be out of Us by now
2007-01-19 10:19:50 +00:00
Marcus Boerger
d01145a893 - A few unicode fixes and tidying 2007-01-19 00:36:11 +00:00
Marcus Boerger
8d030d1275 - Implement debug helper 2007-01-18 23:23:50 +00:00
Marcus Boerger
13da6bf4d7 - Add debug_info helper to overloadedobjects 2007-01-18 23:23:13 +00:00
Marcus Boerger
9ad7d83a03 - We want the size here not the length 2007-01-18 23:17:49 +00:00
Marcus Boerger
0151e6ee5b - Use correct string inunicode mode 2007-01-18 22:57:03 +00:00
Antony Dovgal
1743344cdf fix win32 build 2007-01-18 22:52:32 +00:00
Greg Beaver
025ed87f8f add roadmap 2007-01-18 22:29:25 +00:00
Marcus Boerger
bfa86bfcde - Simplify by using zspprintf 2007-01-18 21:40:18 +00:00
Antony Dovgal
97c8b1d13e more snprintf() 2007-01-18 16:21:00 +00:00
Antony Dovgal
f011615c86 use snprintf() 2007-01-18 15:54:45 +00:00
Antony Dovgal
f308eca71c fix the previous patch 2007-01-18 15:53:53 +00:00
Antony Dovgal
6072ad5f2e use snprintf() 2007-01-18 15:40:54 +00:00
Antony Dovgal
42b64219ea use snprintf() 2007-01-18 15:29:11 +00:00
Antony Dovgal
6dd9b26716 improve check configure for new version of utf8_mime2text() 2007-01-18 14:05:07 +00:00
Antony Dovgal
259562a1c7 use strlcat() 2007-01-18 14:03:24 +00:00
Antony Dovgal
1567e22a6f moved ext/informix to PECL 2007-01-18 12:26:21 +00:00
Greg Beaver
c35b9f30b6 add class constants Phar::COMPRESSED, Phar::GZ, and Phar::BZ2 for eventual compression manipulation 2007-01-18 00:13:18 +00:00
Marcus Boerger
a1c0bfdb5d - Different results in unicode now 2007-01-17 22:49:39 +00:00
Marcus Boerger
6236d0f0a7 - Ensure string-type is always set correctly 2007-01-17 22:43:53 +00:00
Marcus Boerger
1d4fe8b21a - More help from David 2007-01-17 21:29:38 +00:00
Marcus Boerger
29537f3c7f - A little help from Andrei 2007-01-17 21:23:55 +00:00
Antony Dovgal
cece486d78 fix #40129 (iconv extension doesn't compile with CodeWarrior on Netware)
patch by gk at gknw dot de
2007-01-17 20:31:49 +00:00
Antony Dovgal
a0c243ff68 fix grammar 2007-01-17 08:25:25 +00:00
Sara Golemon
8ca1ed346d INI options should not be modified directly.
Bad extension.  No cookie for you.
2007-01-17 00:22:48 +00:00
Marcus Boerger
f26413f41b - Steps towards unicode 2007-01-16 23:52:14 +00:00
Marcus Boerger
207dd9cefd - Add php_u_stat() 2007-01-16 22:10:25 +00:00
Ilia Alshanetsky
a7a9437199 MFB: Fixed output code inside odbc_result_all() 2007-01-16 18:56:55 +00:00
Antony Dovgal
7511c4ac18 return false if realpath()/getcwd() fail 2007-01-16 14:42:14 +00:00
Antony Dovgal
956ed36252 plug leaks
initialize the last argument of RegQueryValueEx()
fix ws
2007-01-16 11:18:54 +00:00
Greg Beaver
9e2db14202 fix test 2007-01-16 03:59:56 +00:00
Greg Beaver
28d4b75d26 fix for deleted files when read from, generalize refcount1 test better 2007-01-16 03:41:52 +00:00
Greg Beaver
36c1d32bde failing test that demonstrates existing file pointer and PharFileInfo don't respond to changes in the underlying file 2007-01-16 03:21:55 +00:00
Greg Beaver
05f0989797 tweak docs for canCompress 2007-01-16 00:00:26 +00:00
Antony Dovgal
902e6583d9 add trailing '\0' to stream hashes 2007-01-15 17:06:52 +00:00
Marcus Boerger
fd30dc5858 - Fix error expectations 2007-01-14 18:57:22 +00:00
Hannes Magnusson
606e073aa7 MFB: Fix typo in error message 2007-01-14 14:37:16 +00:00
Marcus Boerger
433a932aad - Improve flag handling
- Fixes to file open mode
- First step towards permission handling
2007-01-14 00:32:38 +00:00
Marcus Boerger
c13d272acc - Drop useless comment
- Move global macro def to .c
- Cleanup by using bit fields for internal flags
2007-01-13 17:10:18 +00:00
Marcus Boerger
1b98a49f8b - Change version validation to minimum api version required 2007-01-13 16:44:54 +00:00
Ilia Alshanetsky
c4df94e10b MFB: Improve validation of argnum, width and precision. 2007-01-13 16:32:29 +00:00
Marcus Boerger
c6c23145f4 - Change to new layout wich has some more flags that will be used for perms
- Update/simplify tests
2007-01-13 16:17:04 +00:00
Nuno Lopes
b1f02b95ce MFB 2007-01-13 11:22:44 +00:00
Nuno Lopes
8cf3db93ad MFB 2007-01-13 11:16:53 +00:00
Marcus Boerger
f9d2b5088e - WS 2007-01-12 22:28:05 +00:00
Andrey Hristov
f483a60f3a add a sticky note 2007-01-12 20:26:35 +00:00
Antony Dovgal
14a8175ed7 nuke more dead code 2007-01-12 12:31:31 +00:00
Antony Dovgal
ae9a444a63 delete useless comments and skeleton leftovers 2007-01-12 12:16:36 +00:00
Antony Dovgal
521a03c098 fix folding and ws 2007-01-12 12:06:33 +00:00
Ilia Alshanetsky
7861862426 MFB: Use long instead of int where long is expected. 2007-01-12 02:04:27 +00:00
Ilia Alshanetsky
e5a2796223 MFB:
Fixed bug #40098 (php_fopen_primary_script() not thread safe).
	Adjusted previous fixes for similar issue to handle sysconf() failures
2007-01-12 01:50:43 +00:00
Marcus Boerger
1834516f7a - Reorder includes 2007-01-11 22:57:42 +00:00
Marcus Boerger
ebdb8ac4c1 - Make test compatible with HEAD 2007-01-11 22:46:02 +00:00
Antony Dovgal
2157607928 avoid changing original zval 2007-01-11 22:23:06 +00:00
Marcus Boerger
8117489f19 - Unicode support 2007-01-11 21:33:23 +00:00
Antony Dovgal
8190ad4661 make sure the string is non-empty and use strlcpy() & strlcat() 2007-01-11 16:45:27 +00:00
Antony Dovgal
1494f6f9df fix #39988 (type argument of oci_define_by_name() is ignored)
patch and tests by Chris Jones
2007-01-11 11:58:34 +00:00
Antony Dovgal
4a7093c531 fix #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name()) 2007-01-11 11:26:36 +00:00
Sara Golemon
5082591ce2 #ifdef out the rest of that getpwuid_r() patch, see prior commit 2007-01-11 02:31:50 +00:00
Sara Golemon
8ed4339000 Some platforms have getpwnam_r() but are missing _SC_GETPW_R_SIZE_MAX 2007-01-11 01:52:24 +00:00
Marcus Boerger
7303202be1 - Fix a few things
- Cleanup
2007-01-11 01:04:47 +00:00
Hannes Magnusson
ea12069755 MFB: Add missing ifdefs 2007-01-10 21:26:09 +00:00
Marcus Boerger
e5762b7241 - Fix mem access 2007-01-10 20:12:14 +00:00
Dmitry Stogov
e28fd01d7d Fixed tests 2007-01-10 16:00:57 +00:00
Hannes Magnusson
b07b4ba78b MFB: fix ifdefs 2007-01-10 15:06:58 +00:00
Marcus Boerger
0295f8bbdc - Fix shutdown issue (keep the speed) 2007-01-10 00:38:17 +00:00
Marcus Boerger
813d4a2451 - Simplify/Add comment 2007-01-10 00:07:45 +00:00
Marcus Boerger
a3020cee1f - Simplify 2007-01-09 23:57:03 +00:00
Marcus Boerger
a7d57a4814 - Fix write support & simplify 2007-01-09 23:23:12 +00:00
Marcus Boerger
af6a28ba0d - Simplify 2007-01-09 22:30:56 +00:00
Marcus Boerger
469a0c68dd - Cleanup 2007-01-09 18:54:37 +00:00
Marcus Boerger
54917a290b - MFH (Ilia's changes) 2007-01-09 18:38:38 +00:00
Marcus Boerger
c0f01388ca - Improve debugging and fix #40073 2007-01-09 17:52:02 +00:00
Dmitry Stogov
113aa2339d Close open files in case of failure (Amit) 2007-01-09 16:27:32 +00:00
Ilia Alshanetsky
b9f2ed22a2 MFB: Added key_length intialization for intergers 2007-01-09 15:21:23 +00:00
Antony Dovgal
2e08fa381c zerofill info_data and fix possible segfault
partly fixes #40073
2007-01-09 11:37:05 +00:00
Marcus Boerger
3bfece705f - Fix test 2007-01-09 03:03:47 +00:00
Marcus Boerger
887a45e3e8 - Fix fname and alias hash table handling 2007-01-09 02:27:12 +00:00
Marcus Boerger
efba02d38e - Easy debugging 2007-01-09 01:32:09 +00:00
Marcus Boerger
72873b5b27 - Add new test 2007-01-09 00:58:44 +00:00
Marcus Boerger
8e8697b1f7 - Add Phar::getSignature()
- Add Phar::getModified()
- Fix internal hash storage size
- Fix minor memory issues
- Drop boguscode lines (copy'n'paste left over)
- Increase api version to 0.9.0
2007-01-09 00:27:13 +00:00
Marcus Boerger
7093d72b5e - Add initial hash support write/read/verify md5/sha1(default) 2007-01-08 23:03:41 +00:00
Nuno Lopes
6d3b054556 MFB 2007-01-08 22:56:26 +00:00
Nuno Lopes
137415d8bc MFB: remove mshutdown func 2007-01-08 22:35:25 +00:00
Nuno Lopes
2b8323c34a MFB: constify 2007-01-08 22:29:52 +00:00
Sara Golemon
ea81a3a7b7 Add CURLOPT_TCP_NODELAY 2007-01-08 20:04:56 +00:00
Sara Golemon
26e15947ba Allow libxml DomNodes to remain persistent when requested by other extensions 2007-01-08 20:01:23 +00:00
Marcus Boerger
7b069ebc00 - Be picky about names 2007-01-08 19:31:50 +00:00
Marcus Boerger
f6da0a4df6 - Better handler names (group by prefixing) 2007-01-08 19:30:52 +00:00
Andrei Zmievski
8500acc842 Fix IMAP check. 2007-01-08 18:23:23 +00:00
Ilia Alshanetsky
e33869d395 MFB: Use safe_emalloc() rather then emalloc() 2007-01-08 14:25:49 +00:00
Marcus Boerger
8919184420 - Fix test 2007-01-07 20:06:42 +00:00
Greg Beaver
e34af34365 fix unlink 2007-01-07 19:57:26 +00:00
Greg Beaver
420effc193 new test for unset() 2007-01-07 19:45:49 +00:00
Greg Beaver
1ef69b7f08 another attempt to fix unlink()/unset() 2007-01-07 19:45:31 +00:00
Greg Beaver
71c7c383b4 fix unlink - make sure it actually erases the file 2007-01-07 19:05:12 +00:00
Greg Beaver
68b54b4d83 add test to make sure the phar is modified on disk 2007-01-07 18:51:39 +00:00
Marcus Boerger
e947f62b01 - Fix memory issues 2007-01-07 18:35:48 +00:00
Marcus Boerger
0d8ec844d6 - Fix a memleak
- Fix uninitialized mem access
- Fix/improve error handling
- Add INI entry phar.readonly
- Add tests
2007-01-07 16:01:35 +00:00
Hannes Magnusson
8080363f2d Use relative timestamp 2007-01-07 07:59:22 +00:00
Sara Golemon
73cd7bf543 Remaining unicode updates for user filters 2007-01-07 06:29:40 +00:00
Nuno Lopes
f3c60295ed MFB 2007-01-06 20:30:23 +00:00
Nuno Lopes
726dfb0837 MFB: fix build with libming 0.3 2007-01-06 19:26:32 +00:00
Edin Kadribasic
b23813044d Var declarations first (fixes windows build) 2007-01-06 18:58:34 +00:00
Rob Richards
05a532c07a parameter entity argument (pe) should be bool
update test
2007-01-06 18:03:15 +00:00
Hannes Magnusson
71a68db63e MFB: fix skipif 2007-01-06 16:57:42 +00:00
Hannes Magnusson
be32e75cf0 Fix parameter parsing 2007-01-06 15:53:55 +00:00
Dmitry Stogov
d92e5968ee Improved proc_open(). Now on Windows it can run external commands not through CMD.EXE 2007-01-06 09:08:06 +00:00
Georg Richter
a8d9958f70 merged from 5_2 (mysqli_info crash) 2007-01-06 05:50:36 +00:00
Sara Golemon
b42c175d75 Refix posix_ttyname(), test for a working implementation of ttyname_r() -- which BSD doesn't have 2007-01-05 21:30:06 +00:00
Sara Golemon
925cbe4cfe BSD4.1 (possibly others) doesn't support _SC_TTY_NAME_MAX 2007-01-05 20:01:44 +00:00
Andrei Zmievski
2f3a309da1 Clean up set_include_path(). 2007-01-05 18:50:46 +00:00
Sara Golemon
851a151712 Don't bother with conversion when the converter is already UTF8 2007-01-05 17:29:30 +00:00
Hannes Magnusson
1175652bef MFB: Fix tests 2007-01-05 15:28:41 +00:00
Sebastian Bergmann
4e8661438d Fix ZTS issues. 2007-01-05 14:53:30 +00:00
Greg Beaver
94d1d69569 add unset support and test
make sure isset() does not return deleted files
do not store implicit aliases for the phar
2007-01-05 04:45:52 +00:00
Greg Beaver
8b94a6a254 add support for creating new files via array access 2007-01-05 04:27:49 +00:00
Sara Golemon
5d988bb1aa Allow ext/session to use ext/hash's algorithms for generating IDs 2007-01-05 03:57:57 +00:00
Greg Beaver
ef4749b8cf fix creation of phar from scratch, add test case 2007-01-05 03:04:56 +00:00
Sara Golemon
344cda1666 Unicode Updates 2007-01-05 02:07:59 +00:00
Greg Beaver
c7c42d9d47 add test for delete in phar, we needed to check the deleted flag in case the new phar has not been flushed to disk 2007-01-05 02:04:07 +00:00
Greg Beaver
00f516cc99 fix creation of new files within an existing phar, add test 2007-01-05 01:50:26 +00:00
Greg Beaver
68cd2941fd revert changes to test 2007-01-05 01:13:35 +00:00
Greg Beaver
10d45c7668 fixed crc - write test works 2007-01-05 01:13:13 +00:00
Ilia Alshanetsky
b21b4c01c3 MFB: Added missing open_basedir checks 2007-01-04 23:50:19 +00:00
Sara Golemon
21bac192e9 Cleanup ext/session so that I can do a unicode update without going insane. 2007-01-04 22:04:38 +00:00
Greg Beaver
fc2d773388 major reworking of how the phar is re-worked in memory when written to, fix written phar
CRC32 check fails on newly added files in phar, I can't figure out why
2007-01-04 05:32:45 +00:00
Ilia Alshanetsky
0b2e195bd8 MFB: Fixed bug #40009 (http_build_query(array()) returns NULL). 2007-01-03 23:17:17 +00:00
Nuno Lopes
22ad2f9538 MFB 2007-01-03 22:33:33 +00:00
Nuno Lopes
699351d794 fix a bug where PHP would enter in an infinite cycle with chars with ascii value > 127
while at it, remove the lim structure parameter (it wasn't being used)
2007-01-03 22:02:43 +00:00
Antony Dovgal
6dd26de0c9 more magic number fixes 2007-01-03 20:49:27 +00:00
Antony Dovgal
a323972c87 use constant 2007-01-03 20:45:17 +00:00
Nuno Lopes
5861f56dea fix PDO_DRIVER_API 2007-01-03 20:33:09 +00:00
Nuno Lopes
84f62f1133 fix lcov build 2007-01-03 20:27:49 +00:00
Hannes Magnusson
75267ee88d Revert pcrelib version string to 2006 2007-01-03 20:08:08 +00:00
Antony Dovgal
4c923b2753 revert this date to its previous state 2007-01-03 18:32:16 +00:00
Greg Beaver
801f8aaf01 add unlink support 2007-01-03 15:53:29 +00:00
Greg Beaver
d1cc13c9b2 fix all but one of the double-destroyed hashes, and all but one of the unclosed streams 2007-01-03 15:43:07 +00:00
Derick Rethans
44327b0af2 - MFB: Fixed bug #40012 (php_date.c doesnt compile on Netware). 2007-01-03 14:46:52 +00:00
Antony Dovgal
1167da966b and one more.. 2007-01-03 13:48:46 +00:00
Antony Dovgal
4a88a40537 fix test 2007-01-03 13:47:03 +00:00
Ilia Alshanetsky
b597606cfb Use proper length 2007-01-03 04:05:36 +00:00
Ilia Alshanetsky
b648434448 MFB:
Added filter callback
	Unlink temporary file on error
2007-01-03 03:55:29 +00:00
Greg Beaver
3842b6712d correctly generate version string for new phar 2007-01-02 22:57:47 +00:00
Greg Beaver
c88a692b31 add some error handling to phar creation 2007-01-02 21:21:18 +00:00
Greg Beaver
5321858746 add some error handling to phar creation 2007-01-02 21:01:44 +00:00
Marcus Boerger
d013240a01 - Change write macros to inline funcs 2007-01-02 20:25:04 +00:00
Greg Beaver
a90c542188 add new failing test for write support 2007-01-02 20:07:54 +00:00
Greg Beaver
0bbbb73910 fix a number of bugs found in testing new (uncommitted) unit test 2007-01-02 19:59:38 +00:00
Marcus Boerger
63bc59ae0a - TSRM fix 2007-01-02 19:54:09 +00:00
Marcus Boerger
4562ab4d4a - Make Andrei happy - spread some U's 2007-01-02 18:15:22 +00:00
Greg Beaver
1ffb4ba7eb initial support for writeable phars
# we need to refcount everything, I suspect, or we can get segfaults, have not verified this though
# all the write stuff is untested, and Phar::__construct() does not allow creation of a new phar, only appending to and existing one
2007-01-02 18:15:17 +00:00
Nuno Lopes
80122d6b53 MFB 2007-01-02 15:31:58 +00:00
Georg Richter
f9fe766355 fixed parameters for unicode in mysqli_change_user 2007-01-02 05:49:05 +00:00
Greg Beaver
373fb2f82f add doc comments to help sort out what's what 2007-01-02 00:04:30 +00:00
Ilia Alshanetsky
669bc30619 MFB: fixed compiler warnings 2007-01-01 19:42:19 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
3e654e4d53 MFB: Simplify code and change strchr() to memchr() 2006-12-31 22:47:27 +00:00
Ilia Alshanetsky
15f1692572 MFB: Added boundary checks to php_binary deserializer 2006-12-31 22:26:06 +00:00
Marcus Boerger
f9a45d2cdb - Bugfix: #39996 Wrong PHPDoc comment for SplFileInfo::getType() 2006-12-31 18:20:03 +00:00
Nuno Lopes
9c754139fb MFB: fix #36427. patch by jdolecek at NetBSD dot org 2006-12-31 15:28:56 +00:00
Nuno Lopes
976c72cce7 MFB: fix PID info on windows 2006-12-31 14:49:06 +00:00
Ilia Alshanetsky
647ad42cf7 MFB: Added missing resource type checks 2006-12-30 20:21:47 +00:00
Rob Richards
4b81343bd3 MFB: fix bug #39760 (cloning fails on nested SimpleXML-Object)
add test
2006-12-30 15:42:24 +00:00
Ilia Alshanetsky
fb392210ee MFB: Mark test as being 32bit only 2006-12-30 02:01:09 +00:00
Ilia Alshanetsky
2120039c2b MFB: Fixes test #50 2006-12-30 01:56:33 +00:00
Ilia Alshanetsky
df5d843c99 MFB: Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for
timestamp fields).
2006-12-29 00:34:53 +00:00
Antony Dovgal
bef17c425a use strlcpy() 2006-12-28 20:45:20 +00:00
Nuno Lopes
fc9b8ae1a3 MFB 2006-12-28 19:53:30 +00:00
Antony Dovgal
4cf068ac32 include basic_functions.h for php_get_current_user() declaration 2006-12-28 15:44:50 +00:00
Antony Dovgal
3dc31987be it's ptr, not ptrptr 2006-12-28 15:26:20 +00:00
Antony Dovgal
ea14ce7700 use the macro, casting works only with GCC 2006-12-28 15:24:00 +00:00
Ilia Alshanetsky
c42fb0033d MFB: Added buffer length checks 2006-12-28 15:21:32 +00:00
Antony Dovgal
a04c65f97f fix ZTS build 2006-12-28 15:03:19 +00:00
Antony Dovgal
0958fdb46e use strlcat() 2006-12-28 14:26:30 +00:00
Antony Dovgal
d312d33f46 minor improvements 2006-12-28 14:17:09 +00:00
Antony Dovgal
9e41e0fda3 fix tests 2006-12-27 19:22:29 +00:00
Antony Dovgal
5498386f63 fix tests 2006-12-27 19:17:02 +00:00
Antony Dovgal
ec8984ea81 NULL is a special value for number_format() meaning "use default separator" 2006-12-27 19:07:28 +00:00
Antony Dovgal
1857da91b4 fix *scanf() tests 2006-12-27 15:26:13 +00:00
Nuno Lopes
1511cee1a0 MFB 2006-12-27 15:18:15 +00:00
Antony Dovgal
8c44974966 initialize memory with 0's, so we won't get garbage if the statement does not set the var 2006-12-27 10:30:47 +00:00
Antony Dovgal
7b42968afd that should not be there.. 2006-12-27 09:49:06 +00:00
Antony Dovgal
06216846e7 more test improvements by Chris Jones 2006-12-27 09:48:05 +00:00
Andrei Zmievski
6212288bea Unicode support in sscanf() and fscanf(). (Tony, Andrei) 2006-12-26 22:34:05 +00:00
Nuno Lopes
0fe5fabd9b fix build 2006-12-26 22:07:45 +00:00
Ilia Alshanetsky
2dbfe66e4a MFB: safety checks 2006-12-26 17:40:20 +00:00
Ilia Alshanetsky
4386719b07 MFB: Session deserializer protection. 2006-12-26 17:18:28 +00:00
Ilia Alshanetsky
fdf33c7593 MFB: Fixed bug #39878 (CURL doesn't compile on Sun Studio Pro). 2006-12-26 16:57:51 +00:00
Antony Dovgal
79c8816327 fix arguments order (just in the sake of purity) 2006-12-26 12:29:32 +00:00
Pierre Joye
5f83f04cbb - Add better zlib detection 2006-12-26 10:42:25 +00:00
Pierre Joye
1766548574 - #39952 zip ignoring --with-libdir on zlib checks (judas dot
iscariote at gmail dot com)
2006-12-26 09:52:32 +00:00
Dmitry Stogov
b0c3becc4f Code review:
. fixed integer overflow
  . fixed buffer overflow/underflow
  . added more strict IP validation
  . reimplemented float number validation
2006-12-26 09:16:39 +00:00
Antony Dovgal
fa6ec58949 add missing space for \0 2006-12-25 22:40:13 +00:00
Antony Dovgal
3bbf11859c more safe_emalloc() 2006-12-25 22:27:12 +00:00
Antony Dovgal
df52817f48 use safe_emalloc() 2006-12-25 22:12:36 +00:00
Antony Dovgal
f3c0c42b76 use safe_emalloc() 2006-12-25 21:45:09 +00:00
Ilia Alshanetsky
0b145dcb90 MFB: Fixed test for 64bit systems 2006-12-25 21:08:10 +00:00
Antony Dovgal
dbcb473139 use safe_emalloc() 2006-12-25 21:07:32 +00:00
Antony Dovgal
b1813c961b use safe_emalloc() 2006-12-25 20:53:43 +00:00
Antony Dovgal
a30e5b9920 use safe_emalloc() 2006-12-25 20:44:28 +00:00
Antony Dovgal
487ce5744a improve check for overflow 2006-12-25 20:03:20 +00:00
Antony Dovgal
e185df5995 fix CS, add missing folding markers
mark Unicode safe functions as they are
2006-12-25 19:34:00 +00:00
Antony Dovgal
824323149f stream_socket_shutdown() is Unicode safe by definition 2006-12-25 19:19:08 +00:00
Antony Dovgal
184406c016 fix proto 2006-12-25 19:12:39 +00:00
Antony Dovgal
549b48aee3 fix protos 2006-12-25 19:08:33 +00:00
Antony Dovgal
611c688d7c mark most of the ext/posix functions as Unicode safe, for they do not use strings in any way 2006-12-25 19:03:56 +00:00
Antony Dovgal
fa3c084b36 mark all LOB functions as Unicode safe 2006-12-25 18:57:15 +00:00
Ilia Alshanetsky
428f53e5fb MFB: Use %F (ignores locale) for internal representation of floats 2006-12-25 16:49:05 +00:00
Antony Dovgal
03aea51026 fix build 2006-12-25 15:28:44 +00:00
Antony Dovgal
a5ca775c02 fix test 2006-12-25 14:27:44 +00:00
Ilia Alshanetsky
d98c67c89d MFB: Define SENDBUFLEN for older c-client libs 2006-12-25 14:23:38 +00:00
Antony Dovgal
a2d8ca3b53 update credits at request of Gabor 2006-12-25 11:50:23 +00:00
Antony Dovgal
524eb56503 fix tests 2006-12-25 11:16:05 +00:00
Antony Dovgal
ebfd8e9bf2 fix #36392 in Unicode mode 2006-12-25 11:15:08 +00:00
Ilia Alshanetsky
6fa038ae50 MFB: Fixed buffer boundary protection 2006-12-24 22:15:18 +00:00
Ilia Alshanetsky
59b437aff8 MFB: Added empty string checks 2006-12-24 20:50:21 +00:00
Rob Richards
2185635e10 update function signature 2006-12-24 12:42:47 +00:00
Rob Richards
1a6ea57ee9 MFB: fix bug #33734 and related (Something strange with COM Object)
- caused by fix in com_handlers.c rev 1.22.2.5
2006-12-24 12:32:35 +00:00
Rob Richards
39c037b734 MFB:
- fix bug #33386 (ScriptControl only sees last function of class): com_wrapper.c
- fix bug #37588 (COM Property propputref converts to PHP function
  and can't be accesed): com_handlers.c
- fix bug #39596 (Creating Variant of type VT_ARRAY): com_variant.c
- add tests
2006-12-24 10:02:00 +00:00
Ilia Alshanetsky
34dc00fd7a MFB: safety checks 2006-12-23 23:29:41 +00:00
Ilia Alshanetsky
4e17200d59 MFB: Added checks for negative max length and overflow checks for overly
long strings.
2006-12-23 18:50:52 +00:00
Derick Rethans
7b170eea73 - MFB: Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores
--with-libdir).
2006-12-23 18:00:49 +00:00
Antony Dovgal
083bddc23d fix test 2006-12-23 14:14:14 +00:00
Antony Dovgal
8a3000977c fix tests 2006-12-23 14:10:52 +00:00
Antony Dovgal
96d19377ce use add_ascii_assoc_text() 2006-12-23 14:10:35 +00:00
Antony Dovgal
19060d3a14 use OCI_SUCCESS constant, do not rely on its value 2006-12-23 14:02:38 +00:00
Andrei Zmievski
f88aa1b9ab Unicode support in number_format(). 2006-12-22 21:18:30 +00:00
Nuno Lopes
168185e7a0 fix lcov/genhtml build (yes it is very picky) 2006-12-22 17:02:54 +00:00
Ilia Alshanetsky
2b23e4e205 MFB: Fixed bug #39884 (ReflectionParameter::getClass() throws exception for
type hint self).
2006-12-22 15:38:42 +00:00
Ilia Alshanetsky
2e5e31c6b8 MFB: Fixed bug #36392 (wrong number of decimal digits with %e specifier in
sprintf).
2006-12-22 15:30:18 +00:00
Antony Dovgal
2010ae0c5c more OCI8 tests by Chris Jones 2006-12-22 13:28:46 +00:00
Antony Dovgal
a7e4f10ae2 more ext/date tests by Chris Jones 2006-12-22 13:07:26 +00:00