nextcloud/lib/private/Files
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
..
AppData Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Cache Merge pull request #30056 from nextcloud/backport/29735/stable21 2021-12-08 18:06:00 +01:00
Config Fix functions taking optional parameters before required ones 2021-06-07 21:33:52 +00:00
Mount handle case where storage can't be created in getStorageRootId 2021-09-30 13:21:40 +02:00
Node fix Folder->getById() when a single storage is mounted multiple times 2021-08-09 17:32:20 +00:00
Notify Update license headers 2019-12-05 15:38:45 +01:00
ObjectStore Fix permissions when copying from ObjectStorage 2021-10-28 12:55:53 +00:00
Search handle ordering in folder search 2021-03-23 13:41:18 +00:00
SimpleFS Add getID function to the simplefile implementation 2021-03-15 13:44:45 +00:00
Storage Check resource before closing in encryption wrapper 2021-12-10 00:10:44 +00:00
Stream Fix psalm issue in Encryption stream 2021-10-08 12:15:04 +02:00
Template Fix log error when creating files from an empty template 2021-05-19 07:03:27 +00:00
Type Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
Utils background scan the source storage when a background scan on a storage jail is triggered 2021-12-02 20:00:45 +00:00
FileInfo.php Remove unneeded casts that were found by Psalm 2021-01-11 13:14:41 +01:00
Filesystem.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
View.php Check whether output buffering is active before turning it off 2021-06-07 21:33:53 +00:00