com php-src: Merge branch 'PHP-7.2' into PHP-7.3: NEWS Zend/zend_virtual_cwd.c
| From: | Christoph Michael Becker | Date: | Mon, 19 Aug 2019 17:57:22 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.2' into PHP-7.3: NEWS Zend/zend_virtual_cwd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-107962@lists.php.net to get a copy of this message | ||
Commit: 5e19f1d458556183230fe0e09a6a24b413553e9b
Author: Christoph M. Becker <cmbecker69@gmx.de> Mon, 19 Aug 2019 19:56:12 +0200
Parents: be7e819068985859f92e4af21e49b4f647dd0467 81f52158b42318f17f67468cccc4a8dc03bba942
Branches: PHP-7.3 PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5e19f1d458556183230fe0e09a6a24b413553e9b
Log:
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #78220: Can't access OneDrive folder
Bugs:
https://bugs.php.net/78220
Changed paths:
MM NEWS
MM Zend/zend_virtual_cwd..c
Diff:
diff --cc NEWS
index 9ddf7bc,bcec73d..c07743e
--- a/NEWS
+++ b/NEWS
@@@ -1,16 -1,13 +1,17 @@@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-?? ??? 2019, PHP 7.2.23
+?? ??? ????, PHP 7.3.10
- Core:
+ . Fixed bug #78220 (Can't access OneDrive folder). (cmb, ab)
- . Fixed bug #78412 (Generator incorrectly reports non-releasable $this as GC
- child). (Nikita)
+ . Fixed bug #77922 (Double release of doc comment on inherited shadow
+ property). (Nikita)
+
+- Intl:
+ . Ensure IDNA2003 rules are used with idn_to_ascii() and idn_to_utf8()
+ when requested. (Sara)
-29 Aug 2019, PHP 7.2.22
+29 Aug 2019, PHP 7.3.9
- Core:
. Fixed bug #78363 (Buffer overflow in zendparse). (Nikita)
diff --cc Zend/zend_virtual_cwd.c
index 8a41cfc,563e121..c523f40
--- a/Zend/zend_virtual_cwd.c
+++ b/Zend/zend_virtual_cwd.c
@@@ -901,10 -895,24 +904,24 @@@ retry
CloseHandle(hLink);
free_alloca(tmp, use_heap);
FREE_PATHW()
- return -1;
+ return (size_t)-1;
}
if(!DeviceIoControl(hLink, FSCTL_GET_REPARSE_POINT, NULL, 0, pbuffer,
MAXIMUM_REPARSE_DATA_BUFFER_SIZE, &retlength, NULL)) {
+ BY_HANDLE_FILE_INFORMATION fileInformation;
+
free_alloca(pbuffer, use_heap_large);
+ if ((dataw.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT) &&
+ (dataw.dwReserved0 & ~IO_REPARSE_TAG_CLOUD_MASK) == IO_REPARSE_TAG_CLOUD &&
+ EG(windows_version_info).dwMajorVersion >= 10 &&
+ EG(windows_version_info).dwMinorVersion == 0 &&
+ EG(windows_version_info).dwBuildNumber >= 18362 &&
+ GetFileInformationByHandle(hLink, &fileInformation) &&
+ !(fileInformation.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT)) {
+ dataw.dwFileAttributes = fileInformation.dwFileAttributes;
+ CloseHandle(hLink);
+ (*ll)--;
+ goto retry;
+ }
free_alloca(tmp, use_heap);
CloseHandle(hLink);
FREE_PATHW()