-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[stable19] avoid fread on directories and unencrypted files #27405
Conversation
@jknockaert i've applied this patch, but i'm now having these errors:
|
@acsfer I'm no longer having any such errors after I disabled the encryption app. |
Oh, ok, so this doens't fix these errors while encryption is enabled, right? |
@acsfer I wouldn't know if it (still) fixes any errors while encryption is enabled. |
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
087d360
to
1c3fe81
Compare
@acsfer yes it dose fix the errors while encryption is enabled I tested it on vs 19, 20, 21 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This dose fix the issue
19 is EOL, please upgrade to 20 |
backport of #24966