Skip to content

[stable-4.0] fix(win32): only increase ACL size if a new ACE is about to be added#9531

Merged
nilsding merged 2 commits intostable-4.0from
backport/9491/stable-4.0
Feb 26, 2026
Merged

[stable-4.0] fix(win32): only increase ACL size if a new ACE is about to be added#9531
nilsding merged 2 commits intostable-4.0from
backport/9491/stable-4.0

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Feb 26, 2026

Backport of PR #9491

@backportbot backportbot bot requested a review from mgallien February 26, 2026 16:48
@backportbot backportbot bot added this to the 4.0.7 milestone Feb 26, 2026
Noticed that GetLastError() could return 0 (error code for a successful
operation) -- probably due to win32 calls performed during logging

--> Store the result in a variable before writing log messages, just in
case ...

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
Also added some extra logging when InitializeAcl fails, and a regression
test.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
@github-actions
Copy link

Artifact containing the AppImage: nextcloud-appimage-pr-9531.zip

Digest: sha256:52d0da8e00af2d3a1315086efb3fad659167590d65a7692069f85029c3d2cb07

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarqubecloud
Copy link

@nilsding nilsding enabled auto-merge February 26, 2026 17:59
@nilsding nilsding merged commit 34397f2 into stable-4.0 Feb 26, 2026
21 checks passed
@nilsding nilsding deleted the backport/9491/stable-4.0 branch February 26, 2026 17:59
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.

1 participant