[BUGFIX] Check opendir result in fixPermissions 07/49407/2
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:30:08 +0000 (11:30 +0200)
commit0c449ce15991b2874174d491f9018ecc98ee9f14
tree3228ad5fd51f1924ff797ba48c42603e33e67d6b
parent183748597b6c071248caa7d7580e0ec14a050148
[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/49407
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Utility/GeneralUtility.php