1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 16:38:25 +02:00
Commit Graph

3875 Commits

Author SHA1 Message Date
Ilia Alshanetsky f95c1df583 Fixed bug #29821 (Fixed possible crashes in convert_uudecode() on invalid
data).
2004-08-24 15:25:48 +00:00
Ilia Alshanetsky 8eacea8b48 Fixed proto of headers_list(). 2004-08-23 16:58:11 +00:00
Andrey Hristov dd5538566e fix for bug 26737 : private & protected member variables not serialized
when user defined __sleep() is declared. Additionally E_NOTICE is
being thrown if __sleep() returns a non-existing member variable name
2004-08-21 13:49:19 +00:00
Antony Dovgal ca28e37be1 fix #29737 in the right way with performance in mind 2004-08-19 15:14:04 +00:00
Antony Dovgal e156ed7433 fix #29737 (ip2long should return -1 if IP is 255.255.255.255 and FALSE on error) 2004-08-19 13:59:29 +00:00
Ilia Alshanetsky 60fc9c050a Fixed bug #29678 (opendir() with ftp:// wrapper segfaults if path does not
have trailing slash).
2004-08-16 01:41:14 +00:00
Andi Gutmans 0286913937 - Use FREE_HASHTABLE() 2004-08-12 06:17:42 +00:00
Derick Rethans 318be175a4 - Added a notice to getimagesize in case zlib is not available and a compressed
SWF movie has been passed to the function.
2004-08-11 12:33:03 +00:00
Sara Golemon 74de8bdb02 Don't require the user to specify as a reference 2004-08-11 03:57:15 +00:00
Moriyoshi Koizumi 51fc7b8ea5 - Bugfix #29493 (extract(array, EXTR_REFS) misbehaves with elements referred
twice or more times). (Patch inspired by Michael Manley. Thanks.)
2004-08-10 06:00:30 +00:00
Sara Golemon 37b8c079d6 Fix inet_pton/ntop() on BSD 2004-08-07 15:59:59 +00:00
Sara Golemon 592b17d4d1 Binary safety fix for inet_pton() 2004-08-07 05:11:26 +00:00
Sara Golemon 75f4ec8879 New Functions inet_pton() and inet_ntop() 2004-08-07 04:50:24 +00:00
Sara Golemon d1341b1c15 Add A6 support, fix IPv6 address parsing, and improve define compatability 2004-08-06 18:38:35 +00:00
Wez Furlong d0ce6368b1 Avoid possible segfault when using stream_socket_client with bogus flags. 2004-08-06 14:08:17 +00:00
Gabor Hojtsy 15e14aeca5 update documentation credits, mentioning that more contributors are listed in the manual 2004-08-05 16:26:15 +00:00
Ilia Alshanetsky e7b73ddce7 Fixed argument handling in sun* functions. 2004-08-04 00:28:03 +00:00
Antony Dovgal cc39d06e4e fix typo in mail.c: mail_force_extra_parameters -> mail.force_extra_parameters 2004-08-03 06:25:25 +00:00
Wez Furlong 47e7fef08e Allow win32 stuff to build non-zts.
Fix stream crypto func (again? didn't I already commit that?)
2004-07-31 17:28:27 +00:00
Frank M. Kromann 62cd02c5a7 Adding missing PHPAPI for non ZTS builds 2004-07-30 22:49:02 +00:00
Ilia Alshanetsky 972940509f Fixed bug #29443 (Sanity check for wbmp detection). 2004-07-30 01:10:41 +00:00
Wez Furlong ff531cca4d Missing ifdef; thanks Tony 2004-07-29 11:54:12 +00:00
Wez Furlong cde7423cde Misc. win32 thread safety fixes. 2004-07-29 02:59:44 +00:00
Ilia Alshanetsky 739696d2d7 Fixed but #29437 (Possible crash inside array_walk_recursive()). 2004-07-29 00:35:07 +00:00
Ilia Alshanetsky 45ddc6a5cd Better address availability check. 2004-07-28 23:34:27 +00:00
Ilia Alshanetsky 445daac3ab Fixed possible crash in stream_socket_recvfrom() when length parameter has
a negative value.
2004-07-28 23:21:54 +00:00
Ilia Alshanetsky 89989f4e62 Fixed bug #29342 (strtotime() does not handle empty date string properly). 2004-07-28 01:44:39 +00:00
Andrey Hristov e64af9a898 proto fix
(thanks to dave%php.net for spotting)
2004-07-26 06:32:54 +00:00
Andrey Hristov d77a3f92e6 make behavior a bit field 2004-07-24 09:25:52 +00:00
Sara Golemon b0f344e493 Oh by the way, only use proxy mode for reading... 2004-07-24 04:14:26 +00:00
Sara Golemon 93f795bb9e Add proxy support to ftp using http wrapper 2004-07-24 04:01:48 +00:00
Andi Gutmans d1b29ad4c2 - There's no reason why gettimeofday() shouldn''t return the same time in
successive calls; this test fails spuriously on Linux/x86_64 (which has
a particularly fast gettimeofday() implementation).
- Joe Orton <jorton@redhat>
2004-07-23 21:53:16 +00:00
Ilia Alshanetsky 70d78cf7dd Fixed bug #29333 (output_buffering + trans_sess_id can corrupt output). 2004-07-23 02:05:49 +00:00
Wez Furlong 17adf438a2 Added stream_context_get_default() which returns the default context option.
You may then set options that affect streams operations for the whole script.

Added stream_socket_enable_crypto() which allows you to turn on or off a crypto
layer (eg: SSL/TLS) on stream, if supported by the underlying transport.

Registered a bunch of constants for that.
2004-07-22 12:12:28 +00:00
Andrey Hristov 5e5d2640fb add array_:
intersect_key()
intersect_ukey()
diff_key()
diff_ukey()
The first two by a patch of Cristiano Duarte. The second two were
implemented in almost the same way except one small difference.
2004-07-21 21:17:56 +00:00
Sara Golemon e5ed53b00a Add MTDM support to ftp_fopen_wrapper::url_stat() 2004-07-21 04:37:47 +00:00
Ilia Alshanetsky 633ce3039f Abort earlier on invalid format. 2004-07-21 00:14:48 +00:00
Moriyoshi Koizumi e87fe59e96 - Cleanups. 2004-07-20 19:41:37 +00:00
Moriyoshi Koizumi e25a206e87 oops... 2004-07-20 19:35:38 +00:00
Marcus Boerger 514dfbfbed - Need to set handle prior to calling zend_register_module_ex()
(Marcus, Kamesh Jayachandran <kameshj at fastmail dot fm>)
2004-07-20 19:23:55 +00:00
Moriyoshi Koizumi c210c68add - Add more null checks. 2004-07-20 18:16:36 +00:00
Moriyoshi Koizumi 3e026f08ae - pemalloc() might return NULL. 2004-07-20 18:03:19 +00:00
Moriyoshi Koizumi 5ff410efdf - Fix test name 2004-07-19 18:49:20 +00:00
Moriyoshi Koizumi fae637021d - Oops, actual PR # is 29119, not 29199... 2004-07-19 17:51:41 +00:00
Moriyoshi Koizumi 46bc2c5ae2 - Fix bug #29199 (html_entity_decode() misbehaves with UTF-8) 2004-07-19 17:46:30 +00:00
Andi Gutmans 56f8195fe5 - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
  STR_FREE() and zval_dtor() always have to check for it and it slows down
  the general case. In addition, it seems that empty_string has been abused
  quite a lot, and was used not only for setting zval's but generally in
  PHP code instead of "", which wasn't the intention. Last but not least,
  nuking empty_string should improve stability as I doubt every place
  correctly checked if they are not mistakenly erealloc()'ing it or
  calling efree() on it.
  NOTE: Some code is probably broken. Each extension maintainer should
  check and see that my changes are OK. Also, I haven't had time to touch
  PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Ilia Alshanetsky 8840191d91 Fixed bug #28633 (sprintf incorrectly adding padding to floats). 2004-07-18 17:27:49 +00:00
Marcus Boerger 1ea073fb7a Update 2004-07-18 14:04:36 +00:00
Andrey Hristov 96f5c697dd Add support for negative values of limit of explode(). If limit is negative
then all components are returned except the last abs(limit) ones.
2004-07-18 11:34:28 +00:00
Wez Furlong a0191f0505 don't allocate 0 bytes here either 2004-07-18 09:55:46 +00:00