[BUGFIX] Check opendir result in fixPermissions 72/48072/5
authorTomita Militaru <militarutomita@gmail.com>
Wed, 11 May 2016 08:55:48 +0000 (10:55 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 6 Aug 2016 09:29:18 +0000 (11:29 +0200)
commitf21c77b61ae0351d4e4aff32cc78692b07e1c813
treef1cef83a4cdf32a934e1ac3579ebc33cf2fbafd8
parent65d7786611262d6c5d51d0e03417bcc68735a48d
[BUGFIX] Check opendir result in fixPermissions

Checks opendir result if it is a resource before passing it
to readdir.

Resolves: #47981
Releases: master, 7.6
Change-Id: I45ca844c7ab353a28dc7002ec206bcb054b01c96
Reviewed-on: https://review.typo3.org/48072
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Utility/GeneralUtility.php