nextcloud/lib/private/Files
Vincent Petry 76e5b1af7c 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:07:49 +00:00
..
AppData Update php licenses 2021-06-04 22:02:41 +02:00
Cache background scan the source storage when a background scan on a storage jail is triggered 2021-12-06 01:11:44 +01:00
Config Merge pull request #26494 from rigrig/fix-php8-deprecations 2021-06-07 23:30:59 +02:00
Mount handle case where storage can't be created in getStorageRootId 2021-06-17 14:32:38 +02:00
Node fix Folder->getById() when a single storage is mounted multiple times 2021-08-09 17:29:40 +00:00
Notify Update php licenses 2021-06-04 22:02:41 +02:00
ObjectStore Fix permissions when copying from ObjectStorage 2021-10-30 00:18:26 +02:00
Search generate a better optimized query for path prefix search filters 2021-10-07 15:19:58 +00:00
SimpleFS Update php licenses 2021-06-04 22:02:41 +02:00
Storage Check resource before closing in encryption wrapper 2021-12-10 00:07:49 +00:00
Stream Support seeking also from the end of file on S3 storage 2021-09-20 18:13:25 +00:00
Template Update php licenses 2021-06-04 22:02:41 +02:00
Type Update php licenses 2021-06-04 22:02:41 +02:00
Utils background scan the source storage when a background scan on a storage jail is triggered 2021-12-06 01:11:44 +01:00
FileInfo.php Update php licenses 2021-06-04 22:02:41 +02:00
Filesystem.php Merge pull request #26344 from J0WI/fs-early-root 2021-06-23 15:21:56 +02:00
View.php Merge pull request #26494 from rigrig/fix-php8-deprecations 2021-06-07 23:30:59 +02:00