Skip to content

[stable-33.0] fix(networkjobs): move processEvents after reply reads in LsColJob - #10103

Merged
Rello merged 1 commit into
stable-33.0from
backport/10093/stable-33.0
Jun 4, 2026
Merged

[stable-33.0] fix(networkjobs): move processEvents after reply reads in LsColJob#10103
Rello merged 1 commit into
stable-33.0from
backport/10093/stable-33.0

Conversation

@backportbot

@backportbot backportbot Bot commented Jun 3, 2026

Copy link
Copy Markdown

Backport of PR #10093

LsColJob::finished() called QCoreApplication::processEvents() before
reading the reply. A pending deleteLater() processed during that
call would zero the QPointer<QNetworkReply>, causing a SIGSEGV
on the subsequent reply()->request().url().path() access.

Fix: move processEvents to after all reply() accesses so the pointer
cannot be invalidated before it is used.

Signed-off-by: Camila Ayres <[email protected]>
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

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

Digest: sha256:5b5dade6ca5489face47c9d60d574f2668400116b27ed44d3a793fa38d81f7a9

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

sonarqubecloud Bot commented Jun 3, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@Rello
Rello self-requested a review June 4, 2026 12:02
@Rello
Rello merged commit 4d6f97d into stable-33.0 Jun 4, 2026
20 of 21 checks passed
@Rello
Rello deleted the backport/10093/stable-33.0 branch June 4, 2026 12:02
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.

2 participants