Commit Graph

180 Commits

Author SHA1 Message Date
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Pierre Joye
ce96fd6b07 - fix #39863, do not accept paths with NULL in them. See http://news.php.net/php.internals/50191, trunk will have the patch later (adding a macro and/or changing (some) APIs. Patch by Rasmus 2010-11-18 15:22:22 +00:00
Felipe Pena
e64734f986 - Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for function aliases) 2010-06-26 16:03:39 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Felipe Pena
f8ee7db001 - Fixed bug #49108 (2nd scan_dir produces seg fault) 2009-07-30 12:06:40 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Hannes Magnusson
336cb15d69 MFH: - Changed opendir/dir/scandir to use default context when no context argument is passed. (Sara) 2008-12-09 09:03:38 +00:00
Arnaud Le Blanc
a12b6846e5 MFH: clear stat cache in chroot() 2008-08-11 23:14:36 +00:00
Arnaud Le Blanc
6e20eba4f4 MFH: Fixed #45181 (chdir() should clear relative entries in stat cache) 2008-08-11 22:38:31 +00:00
Felipe Pena
44f1ef210d - MFH: New parameter parsing API 2008-07-24 12:49:11 +00:00
Antony Dovgal
28a22396d4 MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:25:14 +00:00
Dmitry Stogov
99933df5e2 closeder/readdir/rewinddir must work only with directories 2008-06-11 09:01:56 +00:00
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Antony Dovgal
d4fd7c1059 MFH: apply better fix 2008-03-05 12:10:02 +00:00
Antony Dovgal
391da778fb MFH: fix memory corruption due to double destruction of default dir handle 2008-03-05 09:29:25 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Ilia Alshanetsky
07a3423f17 Don't show file names being examined 2007-11-14 23:45:29 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Ilia Alshanetsky
47950d10cf Fixed regression in glob() when enforcing safe_mode/open_basedir checks on
paths containing '*'
2007-09-19 22:37:58 +00:00
Ilia Alshanetsky
72f910c012 Fixed possible buffer overflows inside the fnmatch() and glob() functions 2007-09-04 12:51:49 +00:00
Jani Taskinen
8ab9984707 MFH:- Fixed bug #42365 (glob() crashes with invalid flags) 2007-08-22 14:59:45 +00:00
Antony Dovgal
aaa16ad82b initialize glob struct 2007-07-16 20:29:21 +00:00
Dmitry Stogov
506bd484dc Better fix for bug #41655 2007-06-25 08:40:20 +00:00
Ilia Alshanetsky
bab1ce1429 Fixed bug #41693 (scandir() allows empty directory names). 2007-06-14 23:28:06 +00:00
Scott MacVicar
34d1d2eed0 Fix ZTS build 2007-06-12 13:42:32 +00:00
Ilia Alshanetsky
06b4c66f02 Fixed bug #41655 (open_basedir bypass via glob()) 2007-06-12 12:53:08 +00:00
Ilia Alshanetsky
34928eeeca strncpy > strlcpy 2007-02-24 17:16:23 +00:00
Dmitry Stogov
933c26de41 Fixed bug #39367 (clearstatcache() doesn't clear realpath cache)
Fixed bug #40092 (chroot() doesn't clear realpath cache)
2007-01-22 09:31:46 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
9230cf3da6 Fixed missing open_basedir check inside chdir() function. 2006-10-04 23:19:25 +00:00
Marcus Boerger
5a69b29082 - Warning fixes by Steph 2006-02-26 10:57:00 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
d0a54af4c5 MFH: Nuke php3 legacy 2005-12-05 22:54:01 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Hartmut Holzgraefe
55b5376d19 Support for GLOB_ERR so that glob() reports permission problems (Bug #28355) 2005-06-12 07:53:24 +00:00
Hartmut Holzgraefe
d5adc7ceff thinko fix (E_COMMIT_AFTER_MIDNIGHT) 2005-06-12 01:13:24 +00:00
Hartmut Holzgraefe
4440d3897e Removed bogus fix for bug #28355 (it was dead code anyway) 2005-06-12 00:59:04 +00:00
Ilia Alshanetsky
bd0d48f7a5 Fixed compiler warning. 2005-02-23 18:53:09 +00:00
Ilia Alshanetsky
c7b931d80d Fixed bug #31515 (Improve performance of scandir() by factor of 10 or so). 2005-02-22 00:24:13 +00:00
Ard Biesheuvel
5232a5afea 64-bit bugsquash party 2004-06-16 23:57:25 +00:00
Ilia Alshanetsky
ceb70dbc68 Fixed bug #28668 (glob() does not work with relative paths on Windows). 2004-06-07 18:30:16 +00:00
Ilia Alshanetsky
9c1e668593 Fixed bug #28649 (Proper glob() return value on Linux when there are no
matches).
2004-06-06 16:21:11 +00:00
Ilia Alshanetsky
1842676706 Fixed bug #28355 (glob() does not return error on Linux when it does not
have permission to open the directory).
2004-05-11 13:34:19 +00:00
Ilia Alshanetsky
468e834ef1 Fixed bug #28289 (incorrect resolving of relative paths by glob() in
windows).
2004-05-09 19:01:13 +00:00
Ilia Alshanetsky
88058e5715 Fixed bug #27498 (bogus safe_mode error on nonexistent directories for
chdir() and opendir() functions).
2004-03-16 23:23:17 +00:00
Sara Golemon
d9d38900b6 context parameter for opendir() and dir() 2004-03-01 05:40:14 +00:00
Ard Biesheuvel
81f05c18f5 Wordsize fixes 2004-02-25 20:16:27 +00:00
Sara Golemon
6d10371ec6 'Bug Fix': scandir, being a new function in PHP5 should have always been wrapper aware. 2004-01-28 22:21:54 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Moriyoshi Koizumi
cca80292fe This check's always necessary. 2003-10-29 21:50:15 +00:00