1 diff -urN php-4.4.2/ext/informix/ifx.ec php4-STABLE-200601181735/ext/informix/ifx.ec
2 --- php-4.4.2/ext/informix/ifx.ec 2006-01-01 14:46:53.000000000 +0100
3 +++ php4-STABLE-200601181735/ext/informix/ifx.ec 2006-01-13 16:35:54.000000000 +0100
5 +----------------------------------------------------------------------+
11 /* -------------------------------------------------------------------
12 * if you want a function reference : "grep '^\*\*' ifx.ec" will give
14 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Can't create char-resource");
17 + memset(Ifx_char, 0, sizeof(IFX_IDRES));
19 Ifx_char->type = TYPE_CHAR;
22 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Can't create slob-resource");
25 + memset(Ifx_slob, 0, sizeof(IFX_IDRES));
27 errcode = ifx_lo_def_create_spec(&(Ifx_slob->SLOB.createspec));
30 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Can't create slob-resource");
33 + memset(Ifx_slob, 0, sizeof(IFX_IDRES));
35 Ifx_slob->type = TYPE_SLOB;
36 Ifx_slob->SLOB.lofd = -1;
37 diff -urN php-4.4.2/ext/session/session.c php4-STABLE-200601181735/ext/session/session.c
38 --- php-4.4.2/ext/session/session.c 2006-01-01 14:46:56.000000000 +0100
39 +++ php4-STABLE-200601181735/ext/session/session.c 2006-01-15 18:34:53.000000000 +0100
41 +----------------------------------------------------------------------+
53 + /* check session name for invalid characters */
54 + if (PS(id) && strpbrk(PS(id), "\r\n\t <>'\"\\")) {
60 php_error_docref(NULL TSRMLS_CC, E_ERROR, "No storage module chosen - failed to initialize session.");
62 diff -urN php-4.4.2/ext/standard/http_fopen_wrapper.c php4-STABLE-200601181735/ext/standard/http_fopen_wrapper.c
63 --- php-4.4.2/ext/standard/http_fopen_wrapper.c 2006-01-01 14:46:57.000000000 +0100
64 +++ php4-STABLE-200601181735/ext/standard/http_fopen_wrapper.c 2006-01-16 00:37:42.000000000 +0100
66 | Wez Furlong <wez@thebrainroom.com> |
67 +----------------------------------------------------------------------+
73 #include "php_globals.h"
76 /* get response header */
78 - if (_php_stream_get_line(stream, tmp_line, sizeof(tmp_line) - 1, &tmp_line_len TSRMLS_CC) != NULL) {
79 + if (php_stream_get_line(stream, tmp_line, sizeof(tmp_line) - 1, &tmp_line_len) != NULL) {
85 while (!body && !php_stream_eof(stream)) {
86 size_t http_header_line_length;
87 - if (php_stream_get_line(stream, http_header_line, HTTP_HEADER_BLOCK_SIZE, &http_header_line_length TSRMLS_CC) && *http_header_line != '\n' && *http_header_line != '\r') {
88 + if (php_stream_get_line(stream, http_header_line, HTTP_HEADER_BLOCK_SIZE, &http_header_line_length) && *http_header_line != '\n' && *http_header_line != '\r') {
89 char *e = http_header_line + http_header_line_length - 1;
90 while (*e == '\n' || *e == '\r') {
92 diff -urN php-4.4.2/NEWS php4-STABLE-200601181735/NEWS
93 --- php-4.4.2/NEWS 2006-01-12 18:54:19.000000000 +0100
94 +++ php4-STABLE-200601181735/NEWS 2006-01-16 00:37:37.000000000 +0100
97 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
98 +?? ??? 2006, Version 4.4.3
99 +- Added a check for special characters in the session name. (Ilia)
100 +- Fixed bug #36017 (fopen() crashes PHP when opening a URL). (Tony)
102 13 Jan 2006, Version 4.4.2
103 - Added missing safe_mode/open_basedir checks into cURL extension. (Ilia)
104 - Backported missing imap_mailcompose() fixes from PHP 5.x. (Ilia)
105 diff -urN php-4.4.2/win32/wsyslog.c php4-STABLE-200601181735/win32/wsyslog.c
106 --- php-4.4.2/win32/wsyslog.c 2004-07-30 16:37:17.000000000 +0200
107 +++ php4-STABLE-200601181735/win32/wsyslog.c 2006-01-16 16:36:07.000000000 +0100
112 - DeregisterEventSource(PW32G(log_source));
113 - STR_FREE(PW32G(log_header));
114 - PW32G(log_header) = NULL;
115 + if (PW32G(log_source)) {
116 + DeregisterEventSource(PW32G(log_source));
117 + PW32G(log_source) = NULL;
119 + if (PW32G(log_header)) {
120 + STR_FREE(PW32G(log_header));
121 + PW32G(log_header) = NULL;
125 /* Emulator for BSD syslog() routine
126 diff -urN php-4.4.2/Zend/zend_language_scanner.c php4-STABLE-200601181735/Zend/zend_language_scanner.c
127 --- php-4.4.2/Zend/zend_language_scanner.c 2006-01-12 19:24:28.000000000 +0100
128 +++ php4-STABLE-200601181735/Zend/zend_language_scanner.c 2006-01-18 18:36:27.000000000 +0100
129 @@ -4755,7 +4755,6 @@
134 if (yytext[yyleng-2]=='\r') {
135 label_len = yyleng-2;
137 @@ -4776,6 +4775,7 @@
138 BEGIN(ST_IN_SCRIPTING);
139 return T_END_HEREDOC;
142 zend_copy_value(zendlval, yytext, yyleng);
143 zendlval->type = IS_STRING;