Commit Graph

415 Commits

Author SHA1 Message Date
Dmitry Stogov
ce9f1a4313 Fixed bug #51860 (Include fails with toplevel symlink to /) 2012-01-30 10:08:11 +00:00
Felipe Pena
e4ca0ed09f - Year++ 2012-01-01 13:15:04 +00:00
Pierre Joye
0e3ec21e6f - Fix #55295, check if malloc failed 2011-07-27 14:23:06 +00:00
Rasmus Lerdorf
00842d6996 Fix CS 2011-05-19 23:18:55 +00:00
Rasmus Lerdorf
e40c470c9d Fix bug 54866 2011-05-19 23:09:58 +00:00
Johannes Schlüter
9ea582a76c - Fix possible memory leak
# Found by parfait - http://labs.oracle.com/projects/parfait/
2011-05-16 19:46:32 +00:00
Pierre Joye
ab4ce5516d - some more possible NULL deref 2011-01-10 00:43:08 +00:00
Pierre Joye
8640b61c68 - fix possible NULL deref 2011-01-10 00:30:07 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Pierre Joye
8efec79ffe - expose php_sys_(l)stat, doing will prevent me to have to provide pecl's builds for <5.3.3 and another set for 5.3.4+. Trunk remains the same, A(B/P)I can be broken there 2010-11-04 01:16:20 +00:00
Pierre Joye
f1d2e1453c - Fix #52908, fix declaration 2010-09-22 21:28:37 +00:00
Pierre Joye
88117e6128 - restore VOLUME_NAME_NT and VOLUME_NAME_DOS definition, thx Andrey for the headup 2010-09-17 11:34:49 +00:00
Pierre Joye
65942d343f - sanity check for the path length and don't treat UNC as local path (no functional change, only less ops) 2010-09-13 10:58:18 +00:00
Pierre Joye
ffd60af473 - use php_sys_lstat 2010-09-13 10:27:55 +00:00
Pierre Joye
3a2f5c2219 - WS 2010-09-13 09:08:42 +00:00
Pierre Joye
cd727b4e9a - remove 'UNC' from the target 2010-09-10 19:21:02 +00:00
Pierre Joye
391ff7682c - add php_sys_readlink 2010-09-10 14:01:44 +00:00
Pierre Joye
6396a3272c - add lstat support for Windows 2010-09-01 09:49:53 +00:00
Pierre Joye
3c3ddb39b4 - WS 2010-08-27 10:09:52 +00:00
Pierre Joye
a5e51efff8 - Symlink resolution fails when target is a DFS path 2010-08-26 14:23:17 +00:00
Antony Dovgal
9badd4f0fb fix bug #50101 (name clash between global and local variable) 2010-06-08 13:27:30 +00:00
Pierre Joye
f4735e72e4 - we don't need that anymore 2010-04-28 22:25:31 +00:00
Ilia Alshanetsky
3ea4abe92c update copyright 2010-02-16 13:01:50 +00:00
Pierre Joye
3a239b15e9 - silent warning 2010-02-04 15:34:19 +00:00
Pierre Joye
3247c2595d - vc6 does not expose it 2010-02-03 16:11:56 +00:00
Pierre Joye
6d913a0272 - oops, wrong one applied, fix build. 2010-02-01 15:31:58 +00:00
Pierre Joye
f25710db92 - set errno on failure so that the caller can still rely on strerror (reporting wrong error w/o this change) 2010-02-01 15:22:31 +00:00
Pierre Joye
565af741e4 - fix leak 2010-01-31 15:22:17 +00:00
Pierre Joye
1bbc4f1721 - fix write access check when write mode only is requested (not RW) 2010-01-30 20:55:01 +00:00
Pierre Joye
5d360fa1ce - fix leak 2010-01-27 16:52:36 +00:00
Pierre Joye
e130a31441 - don't go through the reparse code when we have a share or DFS path (should fix #50542) 2010-01-27 16:46:43 +00:00
Pierre Joye
84b59b8582 - little comment to avoid undesired changes in this section 2010-01-27 16:44:48 +00:00
Pierre Joye
b37f2257a4 - fix leak, win only 2010-01-27 16:43:16 +00:00
Pierre Joye
79aa615b55 - fix leak when the SID is already used and duplicated 2010-01-27 14:41:06 +00:00
Pierre Joye
3111aa2638 - ws 2010-01-25 09:01:22 +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
da22aa9aad - Fixed ZTS build 2009-12-08 01:51:34 +00:00
Stanislav Malyshev
7beb1af8de add realpath cache inspect functions 2009-12-08 01:35:08 +00:00
Pierre Joye
26e3082abc - fix lenght for alloc and cpy (Kanwal) 2009-11-03 10:48:12 +00:00
Pierre Joye
5e0f3731ac - MFH: fix realloc usage 2009-10-19 23:41:14 +00:00
Pierre Joye
0304ec7900 - Fix ACL support and add support for ACL for TS SAPI. Be sure to get the impersonated token when the impersonation has been done. Add the SID as part of the key for the cache (so each SID gets its cache and not previous requests run under other SID) 2009-10-19 23:32:07 +00:00
Pierre Joye
6711276b3c - fix ACL cache for read check 2009-09-19 20:54:34 +00:00
Pierre Joye
ada5eb95ad - Fix #48746, improve fix to support all possible cases (see latest comment in the report) 2009-09-14 18:46:56 +00:00
Pierre Joye
542c087a86 - be sure that we use the user token by default (Christian Wenz) 2009-09-04 06:59:08 +00:00
Pierre Joye
511c923785 - #27051, improve fix on xp/2k3 2009-09-03 19:16:50 +00:00
Pierre Joye
a8c40d5b3a - #48746, len includes null already 2009-09-02 22:59:58 +00:00
Pierre Joye
da9aee9703 - #27051, we need the thread token here, not the process 2009-09-02 01:59:17 +00:00
Pierre Joye
ddab8be51e - #27051, create process as impersonated user 2009-09-01 22:51:31 +00:00
Pierre Joye
b6882eddf6 - #48746, revert previous about volume. Fix volume support to allow all mounted points (with or without drives) 2009-09-01 17:50:59 +00:00
Pierre Joye
ceb607af13 - Fixed leak on error in popen/exec (and related functions) 2009-08-30 17:13:45 +00:00