Commit Graph

3311 Commits

Author SHA1 Message Date
Hannes Magnusson
797a1ce88f Fixed bug #55504 (Content-Type header is not parsed correctly on HTTP POST request 2011-09-07 16:19:09 +00:00
Gustavo André dos Santos Lopes
08f78070a5 - Fixed borked refactoring in r307437 (using SUCCESS/FAILURE return instead of
out parameter).
- Fixed signature of php_stream_copy_to_stream_ex to return int in 5.4/trunk
  instead of size_t, as the function only returns SUCCESS/FAILURE.
2011-09-04 22:36:33 +00:00
Arpad Ray
1e1bfba576 fix #55510: $_FILES 'name' missing first character after upload 2011-08-29 21:11:07 +00:00
Xinchen Hui
9fb62f3382 Sync r314808 to 5_3 branch
Eliminated compiler warnings "comparison is always false",  "cast to pointer from integer of different siz" and tail zero warnings
2011-08-23 10:18:48 +00:00
Johannes Schlüter
5f502879ff Back to -dev 2011-08-22 23:24:22 +00:00
Johannes Schlüter
952b9a9695 - PHP 5.3.8 2011-08-22 22:08:48 +00:00
Ilia Alshanetsky
eb1470aa3f Back to dev 2011-08-17 14:28:24 +00:00
Ilia Alshanetsky
6e284c6ce7 5.3.7 2011-08-17 13:30:04 +00:00
Ilia Alshanetsky
d090061f5e Back to dev 2011-08-11 14:35:08 +00:00
Ilia Alshanetsky
db472c60cf 5.3.7RC5 2011-08-11 13:02:49 +00:00
Xinchen Hui
409022b742 Fixed built (missing 2nd arg for strncpy) 2011-08-09 13:04:35 +00:00
Xinchen Hui
0630945ac4 Avoiding strcpy, strcat, sprintf usage to make static analyzer happy 2011-08-09 12:16:58 +00:00
Pierrick Charron
6290b8814c Remove unused variable 2011-08-09 02:42:25 +00:00
Pierrick Charron
f6c2511748 Remove unused variable 2011-08-09 02:37:02 +00:00
Rasmus Lerdorf
14e1bc89bc Fix another Coverity warning by initializing this to NULL prior to the strtok_r call 2011-08-06 21:10:29 +00:00
Ilia Alshanetsky
5b0373b060 back to dev 2011-07-28 11:54:53 +00:00
Ilia Alshanetsky
d69796f23f 5.3.7RC4 2011-07-28 11:53:46 +00:00
Felipe Pena
054e1cafa0 - Added new macro to be used in the end of zend_function_entry declaration (Gwynne) 2011-07-25 11:30:53 +00:00
Pierre Joye
8d1012b2c3 - MFH: Fixed bug #54204 (Can't set a value with a PATH section in php.ini). 2011-07-18 21:00:59 +00:00
Ilia Alshanetsky
329449f799 Back to dev 2011-07-14 12:02:33 +00:00
Ilia Alshanetsky
894cfb078b 5.3.7RC3 2011-07-14 12:01:37 +00:00
Ilia Alshanetsky
992d32c6a7 Fixed bug #55014 (Compile failure due to improper use of ctime_r()). 2011-07-11 17:01:23 +00:00
Dmitry Stogov
7d1eef4aa7 Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption) 2011-07-11 09:47:59 +00:00
Gustavo André dos Santos Lopes
987c843674 - Fixed bug #52935 (call exit in user_error_handler cause stream relate core). 2011-07-05 16:09:06 +00:00
Ilia Alshanetsky
8f80896718 Back to dev 2011-06-30 13:31:39 +00:00
Ilia Alshanetsky
05763e18bb 5.3.7RC2 2011-06-30 13:16:27 +00:00
Johannes Schlüter
262492a187 - Back to -dev 2011-06-16 12:47:39 +00:00
Johannes Schlüter
06d5c9a8f0 5.3.7RC1 2011-06-16 12:40:37 +00:00
Pierre Joye
23c4c46b36 - init win32 rng context once per process 2011-06-16 01:31:10 +00:00
Felipe Pena
75fa63b57f - Fixed bug #54939 (File path injection vulnerability in RFC1867 File upload filename)
Reported by: kkotowicz at gmail dot com
2011-06-12 15:14:18 +00:00
Ilia Alshanetsky
d846d0e80a Fixed bug #51997 (SEEK_CUR with 0 value, returns a warning). 2011-06-05 21:57:01 +00:00
Hannes Magnusson
3b030ec75f Fixed bug #54946 (stream_get_contents infinite loop) 2011-05-29 12:29:19 +00:00
Gustavo André dos Santos Lopes
8f77168384 - Merged to 5.3 change in trunk in _php_stream_free. This prevents the segfault
in the testcase for bug #53624. The testcase still has to be fixed though,
  because it only works as intended on Windows.
2011-05-08 19:59:42 +00:00
Gustavo André dos Santos Lopes
a2e0e2564d - Fixed bug #54580 (get_browser() segmentation fault when the browscap ini
directive is set in activation time). This commit fixes this by adding a per
  request parsing of the browscap file that's when get_browser is called the
  first time and the directive is set on activation time.w
2011-05-01 18:37:20 +00:00
Gustavo André dos Santos Lopes
02302812e1 - Fixed accidental change. 2011-05-01 04:16:28 +00:00
Gustavo André dos Santos Lopes
6df67ace20 - Fixed bug #54623 (Segfault when when writing to a persistent socket after
closing a copy of the socket).
2011-05-01 03:57:01 +00:00
Pierre Joye
1dd5690af2 - fix build >(btw, has novell man pages too?) 2011-04-19 21:43:22 +00:00
Hannes Magnusson
a0d805035c Expose PHP_MANDIR
Useful for apps (like the pear installer, phd, .. etc) to install their manpages into the same dir as php did :]
2011-04-18 09:50:32 +00:00
Pierrick Charron
e8486cc374 Fix common typos in the source code (Reported in Bug #54065)
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)
2011-04-03 21:46:52 +00:00
Pierre Joye
4551bd57f7 - Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent, windows fix 2011-03-28 16:43:49 +00:00
Ilia Alshanetsky
f2ce3e0201 Fixed a crash inside dtor for error handling. 2011-03-24 12:57:38 +00:00
Gustavo André dos Santos Lopes
660aa6701d - Updating UPGRADING for r309516 and modest merge to 5.3. 2011-03-23 00:51:22 +00:00
Johannes Schlüter
27e640fdea - Back to dev 2011-03-17 10:13:20 +00:00
Johannes Schlüter
f5687db392 PHP 5.3.6 2011-03-17 07:48:29 +00:00
Pierre Joye
0778bedbe1 - MFH: make setlocale thread only, drastically reduce TS related crashes in error mgt and other parts like pcre, and actually a good thing (tm) 2011-03-16 23:54:14 +00:00
Johannes Schlüter
5009770d65 - PHP 5.3.6RC3 2011-03-09 16:37:58 +00:00
Johannes Schlüter
bf5a3715f4 Back to -dev 2011-03-02 22:03:38 +00:00
Johannes Schlüter
0ec8364402 PHP 5.2.6RC2 2011-03-02 21:26:43 +00:00
Gustavo André dos Santos Lopes
1b2d14c5e1 - Fixed bug #54055 (buffer overrun with high values for precision ini
setting).
#This fix (for g/G/k/H modes) is done at a different level than that for the
#modes e/E/f/F, at a bit higher level and therefore with less coverage. I
#chose this because it addresses the problem where it is -- the calling function
#that passes a buffer too small to php_gcvt.
2011-02-21 06:53:24 +00:00
Johannes Schlüter
18127da570 Back to -dev 2011-02-16 20:41:24 +00:00