nextcloud/lib/private
Vincent Petry 1291abc130 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:03:08 +00:00
..
Accounts Obey col length of 255 to insert and search in accounts_data 2021-11-26 17:27:16 +00:00
Activity Update php licenses 2021-06-04 22:02:41 +02:00
App Fix updating with apps 2021-11-11 13:39:22 +00:00
AppFramework Use more explicit naming for profile link action 2021-10-25 22:20:19 +00:00
Archive Update php licenses 2021-06-04 22:02:41 +02:00
Authentication Only check the twofactor state once per request 2021-12-01 20:29:28 +00:00
Avatar Fix resource usages in OC_Image 2021-10-28 17:48:43 +02:00
BackgroundJob Bump since version 2021-10-14 09:57:16 +02:00
Broadcast/Events Update php licenses 2021-06-04 22:02:41 +02:00
Cache Introduce ISecureRandom::CHAR_ALPHANUMERIC 2021-07-08 15:11:31 +02:00
Calendar Fix initialization of calendar search URIs 2021-11-11 15:07:36 +00:00
Collaboration use specific email getter where necessary 2021-09-09 19:23:05 +02:00
Command Update php licenses 2021-06-04 22:02:41 +02:00
Comments Prepare for group mentions 2021-10-08 13:23:18 +02:00
Console Write upgrade/not-installed notices to stderr 2021-08-18 14:31:49 +02:00
Contacts/ContactsMenu Fix source of translations 2021-11-29 18:51:33 +00:00
Dashboard Update php licenses 2021-06-04 22:02:41 +02:00
DB Allow to log DB, redis and LDAP requests into files 2021-12-02 09:30:44 +00:00
Diagnostics Update php licenses 2021-06-04 22:02:41 +02:00
DirectEditing Update php licenses 2021-06-04 22:02:41 +02:00
Encryption Refactor getEncryptionModule routine 2021-07-06 19:20:32 +02:00
EventDispatcher Clarify that lazy event listeners are built from the server container 2021-07-05 12:11:54 +02:00
Federation Allow to get a local cloud id without going through the contacts manager 2021-07-14 16:08:05 +02:00
Files Check resource before closing in encryption wrapper 2021-12-10 00:03:08 +00:00
FullTextSearch Update php licenses 2021-06-04 22:02:41 +02:00
GlobalScale Update php licenses 2021-06-04 22:02:41 +02:00
Group Update php licenses 2021-06-04 22:02:41 +02:00
Hooks Update php licenses 2021-06-04 22:02:41 +02:00
Http Check for !== false instead 2021-07-12 15:06:30 +02:00
IntegrityCheck Remove some mentions of ownCloud from our api documentation 2021-07-29 15:56:30 +02:00
KnownUser Update php licenses 2021-06-04 22:02:41 +02:00
L10N Add new account properties 2021-10-19 04:44:40 +00:00
LDAP Update php licenses 2021-06-04 22:02:41 +02:00
legacy Avoid assignment in if clause 2021-12-06 14:22:05 +00:00
Lock Update php licenses 2021-06-04 22:02:41 +02:00
Lockdown use searchoperation for storage filter instead of db expression 2021-06-14 16:11:25 +02:00
Log Always list the class of an object first 2021-08-05 17:36:15 +02:00
Mail fix parameter type hint in phpdoc 2021-09-09 14:03:35 +02:00
Memcache Allow to log DB, redis and LDAP requests into files 2021-12-02 09:30:44 +00:00
Migration Update php licenses 2021-06-04 22:02:41 +02:00
Notification Improve wording 2021-10-27 10:12:30 +02:00
OCS Update php licenses 2021-06-04 22:02:41 +02:00
Preview Fix resource usages in OC_Image 2021-10-28 17:48:43 +02:00
Profile Fix source of translations 2021-11-29 18:51:33 +00:00
Remote Update php licenses 2021-06-04 22:02:41 +02:00
Repair Bump doctrine/dbal from 3.0.0 to 3.1.3 2021-10-22 09:03:45 +02:00
RichObjectStrings Update php licenses 2021-06-04 22:02:41 +02:00
Route Fix Lots of Error: file_exists(): open_basedir restriction in effect. in Log 2021-07-30 19:28:52 +00:00
Search Update php licenses 2021-06-04 22:02:41 +02:00
Security Type hint in IpAddress 2021-11-23 10:23:02 +00:00
Session Only trap E_ERROR in session handling 2021-08-17 10:47:25 +02:00
Settings Improve log and allow duplicate notifications section 2021-10-04 19:02:13 +02:00
Setup Introduce ISecureRandom::CHAR_ALPHANUMERIC 2021-07-08 15:11:31 +02:00
Share Update php licenses 2021-06-04 22:02:41 +02:00
Share20 Move common logic to share manager 2021-11-09 10:10:53 +01:00
Support Fair use of push notifications 2021-10-23 00:54:50 +02:00
SystemTag Update php licenses 2021-06-04 22:02:41 +02:00
Tagging Update php licenses 2021-06-04 22:02:41 +02:00
Template Correct comment about OC_Defaults being used 2021-11-16 10:36:05 +00:00
Updater Update php licenses 2021-06-04 22:02:41 +02:00
User Fix missing token update 2021-11-12 14:49:38 +00:00
UserStatus Add an API to set and rollback the user status 2021-10-18 20:31:37 +02:00
AllConfig.php Update php licenses 2021-06-04 22:02:41 +02:00
AppConfig.php Update php licenses 2021-06-04 22:02:41 +02:00
CapabilitiesManager.php Update php licenses 2021-06-04 22:02:41 +02:00
Color.php Update php licenses 2021-06-04 22:02:41 +02:00
Config.php Migrate HintException to OCP 2021-06-30 15:28:02 -04:00
ContactsManager.php Update php licenses 2021-06-04 22:02:41 +02:00
DatabaseException.php Update php licenses 2021-06-04 22:02:41 +02:00
DatabaseSetupException.php Migrate HintException to OCP 2021-06-30 15:28:02 -04:00
DateTimeFormatter.php Update php licenses 2021-06-04 22:02:41 +02:00
DateTimeZone.php Update php licenses 2021-06-04 22:02:41 +02:00
ForbiddenException.php Update php licenses 2021-06-04 22:02:41 +02:00
HintException.php Migrate HintException to OCP 2021-06-30 15:28:02 -04:00
InitialStateService.php Update php licenses 2021-06-04 22:02:41 +02:00
Installer.php Fix translated app details 2021-09-30 09:08:17 +02:00
LargeFileHelper.php Update php licenses 2021-06-04 22:02:41 +02:00
Log.php Interpolate the log message also for logged exceptions 2021-11-29 15:48:43 +00:00
MemoryInfo.php Update php licenses 2021-06-04 22:02:41 +02:00
NaturalSort.php Update php licenses 2021-06-04 22:02:41 +02:00
NaturalSort_DefaultCollator.php Update php licenses 2021-06-04 22:02:41 +02:00
NavigationManager.php Let apps toggle an unread counter on app icons 2021-06-16 17:12:56 +02:00
NeedsUpdateException.php Update php licenses 2021-06-04 22:02:41 +02:00
NotSquareException.php Update php licenses 2021-06-04 22:02:41 +02:00
PreviewManager.php Use findBinaryPath for previews 2021-10-23 23:15:42 +02:00
PreviewNotAvailableException.php Update php licenses 2021-06-04 22:02:41 +02:00
RedisFactory.php Use strict comparison to detect usage of redis cluster 2021-11-25 18:57:35 +00:00
Repair.php Include previous execption for repair steps that don't exist 2021-11-30 11:56:53 +00:00
RepairException.php Update php licenses 2021-06-04 22:02:41 +02:00
Search.php Update php licenses 2021-06-04 22:02:41 +02:00
Server.php Merge pull request #30036 from nextcloud/backport/30011/stable23 2021-12-03 11:53:59 +01:00
ServerContainer.php Update php licenses 2021-06-04 22:02:41 +02:00
ServerNotAvailableException.php Update php licenses 2021-06-04 22:02:41 +02:00
ServiceUnavailableException.php Update php licenses 2021-06-04 22:02:41 +02:00
Setup.php Allow to serve static WebAssembly and TensorFlow Lite files 2021-11-17 14:11:52 +00:00
Streamer.php Update php licenses 2021-06-04 22:02:41 +02:00
SubAdmin.php Update php licenses 2021-06-04 22:02:41 +02:00
SystemConfig.php consider some config keys under 'objectstore_multibucket' as sensitive 2021-10-05 18:26:06 +02:00
TagManager.php Update php licenses 2021-06-04 22:02:41 +02:00
Tags.php Update php licenses 2021-06-04 22:02:41 +02:00
TemplateLayout.php Add current status in navbar 2021-10-15 20:57:58 +02:00
TempManager.php Update php licenses 2021-06-04 22:02:41 +02:00
Updater.php Do not print verbose info about app updates if there are none 2021-11-22 02:24:59 +00:00
URLGenerator.php Merge pull request #27733 from PhrozenByte/enhancement/noid/IURLGenerator-linkToDefaultPageUrl 2021-10-05 13:06:59 +02:00