Skip to content

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

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

[stable-33.0] fix(win32): only increase ACL size if a new ACE is about to be added#9532
nilsding merged 2 commits intostable-33.0from
backport/9491/stable-33.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 33.0.0 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>
@nilsding nilsding force-pushed the backport/9491/stable-33.0 branch from 812b02e to e08f644 Compare February 26, 2026 17:57
@nilsding nilsding enabled auto-merge February 26, 2026 17:57
@github-actions
Copy link

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

Digest: sha256:3964440571a598a6dfdb87d3a88826dee695dc2f179e8b2cd31cb7b01b853163

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.

@nilsding nilsding merged commit 4ee56c3 into stable-33.0 Feb 26, 2026
16 of 17 checks passed
@nilsding nilsding deleted the backport/9491/stable-33.0 branch February 26, 2026 18:16
@sonarqubecloud
Copy link

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