nextcloud/lib/private/Files/Storage
Vincent Petry 65d4d30251 Check resource before closing in encryption wrapper
In case of error there is no guarantee that $source or $target is set or
is a resource when handling an error.

Without this fix, there's a risk that fclose will fail and the actual
exception will not be thrown, making it impossible to find out about the
root cause.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-12-10 00:10:44 +00:00
..
PolyFill Update license headers 2019-12-05 15:38:45 +01:00
Wrapper Check resource before closing in encryption wrapper 2021-12-10 00:10:44 +00:00
Common.php Check for invalid characters before trimming 2021-11-25 15:34:35 +00:00
CommonTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
DAV.php Update license headers 2020-12-30 14:07:05 +01:00
FailedStorage.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
Flysystem.php Update license headers 2020-12-30 14:07:05 +01:00
Home.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
Local.php Fix security issues when copying groupfolder with advanced ACL 2021-10-21 16:34:46 +00:00
LocalRootStorage.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
LocalTempFileTrait.php Update license headers 2019-12-05 15:38:45 +01:00
Storage.php catch notfound and forbidden exception in smb::getmetadata 2021-03-05 07:51:47 +00:00
StorageFactory.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
Temporary.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00