Commit Graph

176 Commits

Author SHA1 Message Date
Dmitry Stogov
00ea3108ea closeder/readdir/rewinddir must work only with directories 2008-06-11 09:01:44 +00:00
Antony Dovgal
5c46c52f09 apply better fix, so that the default handle would be closed when closing its reference 2008-03-05 12:09:33 +00:00
Antony Dovgal
41bd0ca803 fix memory corruption due to double destruction of default dir handle
(detected by ext/standard/tests/dir/readdir_variation6.phpt)
2008-03-05 09:28:41 +00:00
Felipe Pena
a1e8d340c3 New macro for check void parameters 2008-02-28 14:16:25 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Ilia Alshanetsky
3d1534d185 MFB: Fixed regression in glob() when enforcing safe_mode/open_basedir checks
on paths containing '*'
2007-09-19 22:40:02 +00:00
Ilia Alshanetsky
4ed9af35cd MFB: Fixed possible buffer overflows inside the fnmatch() and glob()
functions
2007-09-05 12:55:36 +00:00
Jani Taskinen
8fd677763a - Fixed bug #42365 (glob() crashes with invalid flags) 2007-08-22 14:58:30 +00:00
Antony Dovgal
e8dcb7a3b6 MFB: initialize glob struct 2007-07-16 20:29:37 +00:00
Antony Dovgal
c031c5461c add missing include and fix warning 2007-06-26 12:14:24 +00:00
Dmitry Stogov
07d3bf4113 (forgotten part of fix) 2007-06-25 09:42:49 +00:00
Dmitry Stogov
5b29e664b4 Better fix for bug #41655 2007-06-25 08:40:36 +00:00
Scott MacVicar
6168813e43 Fix ZTS build 2007-06-12 13:42:04 +00:00
Ilia Alshanetsky
a78d9e4ca0 MFB: Fixed bug #41655 (open_basedir bypass via glob()) 2007-06-12 12:57:43 +00:00
Ilia Alshanetsky
16c9af1c7d MFB 2007-05-29 20:11:23 +00:00
Dmitry Stogov
7d1110a3fb Fixed bug #39367 (clearstatcache() doesn't clear realpath cache)
Fixed bug #40092 (chroot() doesn't clear realpath cache)
2007-01-22 09:32:55 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
4492d8f089 MFB: Fixed missing open_basedir check inside chdir() function. 2006-10-04 23:20:54 +00:00
Sara Golemon
d2aebce18f Update glob() for PHP6 2006-10-02 18:14:42 +00:00
Sara Golemon
2dccf612fc Switch opendir/chroot/chdir to new path_param API and upgrade scandir() for PHP6 2006-10-02 17:45:30 +00:00
Antony Dovgal
b6f2e80f03 add missing parameter to opendir() and fix segfault 2006-09-23 12:32:32 +00:00
Sara Golemon
7b0305b311 PHP6 Updates 2006-09-22 23:57:38 +00:00
Andi Gutmans
1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
Andi Gutmans
e94e25e621 Start nuking safe_mode. Still a lot of work to do... 2006-02-19 00:55:22 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
0ac2b74b0b - Nuke php3 legacy 2005-12-05 22:53:34 +00:00
Dmitry Stogov
8f6f97a77d Unicode support 2005-08-23 12:53:31 +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
Moriyoshi Koizumi
13f16d5690 MFB(r-1.109.2.12): A possible fix for bug #26026 2003-10-29 18:48:37 +00:00
Hartmut Holzgraefe
075e66cc08 signed/unsigned compiler warning fixes 2003-09-26 08:09:56 +00:00
Ilia Alshanetsky
0917a7f62f Fixed bug #25583 (Incorrect handling of paths starting with / on win32
inside glob() function).
2003-09-20 02:51:20 +00:00
Marcus Boerger
54df2e14b4 Use correct macro 2003-08-02 13:49:12 +00:00