Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #30160

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>
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@PVince81 PVince81 merged commit b880b95 into stable22 Dec 10, 2021
@PVince81 PVince81 deleted the backport/30160/stable22 branch December 10, 2021 07:56
@skjnldsv skjnldsv mentioned this pull request Jan 7, 2022
9 tasks
This was referenced Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants