Skip to content

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

Draft
backportbot[bot] wants to merge 1 commit into
stable-4.0from
backport/10093/stable-4.0
Draft

[stable-4.0] fix(networkjobs): move processEvents after reply reads in LsColJob#10102
backportbot[bot] wants to merge 1 commit into
stable-4.0from
backport/10093/stable-4.0

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented Jun 3, 2026

Backport of #10093

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

fix(networkjobs): move processEvents after reply reads in LsColJob

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 <hello@camilasan.com>

[skip ci]
@backportbot backportbot Bot requested review from camilasan and mgallien June 3, 2026 09:04
@backportbot backportbot Bot added this to the 4.0.11 milestone Jun 3, 2026
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