Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable21] avoid fread on directories and unencrypted files #27406

Merged
merged 7 commits into from
Sep 7, 2021

Conversation

backportbot-nextcloud[bot]
Copy link

backport of #24966

@ghost
Copy link

ghost commented Jul 2, 2021

Still an issue on NC 21.0.3 can we add it on the next release ? @icewind1991 @rullzer @acsfer

@skjnldsv
Copy link
Member

/rebase

@github-actions github-actions bot force-pushed the backport/24966/stable21 branch from 694b808 to c290551 Compare July 27, 2021 13:30
@skjnldsv skjnldsv closed this Jul 27, 2021
@skjnldsv skjnldsv reopened this Jul 27, 2021
@skjnldsv skjnldsv mentioned this pull request Aug 3, 2021
12 tasks
@skjnldsv
Copy link
Member

CI says no

@ghost

This comment has been minimized.

@jknockaert
Copy link
Contributor

No

@ghost

This comment has been minimized.

@ghost
Copy link

ghost commented Aug 17, 2021

@skjnldsv anyone else that can look at this code since the original creator no longer wants to work on this?

@MichaIng
Copy link
Member

MichaIng commented Sep 3, 2021

/rebase

Jasper Knockaert added 7 commits September 3, 2021 13:40
Reworking the logic in order to first check the filecache and only then reading the fileheader.
This in order to solve #21578.
Signed-off-by: Jasper Knockaert jasper@knockaert.nl
@kesselb kesselb removed their request for review September 3, 2021 13:49
@MichaIng MichaIng added the 3. to review Waiting for reviews label Sep 3, 2021
@MichaIng
Copy link
Member

MichaIng commented Sep 3, 2021

Drone failure is unrelated. Not sure why Psalm is unhappy here while it was happy on 22 (master that time):

Uncaught Error: Class 'Symfony\Contracts\EventDispatcher\Event' not found in /github/workspace/lib/public/EventDispatcher/Event.php:39

EDIT: Psalm failure related to #28700, which requires hence backport first.

@skjnldsv skjnldsv merged commit 00c2aa5 into stable21 Sep 7, 2021
@skjnldsv skjnldsv deleted the backport/24966/stable21 branch September 7, 2021 09:52
@blizzz blizzz mentioned this pull request Sep 23, 2021
8 tasks
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.

4 participants