[ktorrent] [Bug 523761] libktorrent segfault on authenticationFinished

"Jack Hill" <[email protected]>
Newsgroups gmane.comp.kde.devel.bugs
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=523761

--- Comment #6 from Jack Hill <[email protected]> ---
Ah I think I see the issue.

https://invent.kde.org/network/libktorrent/-/commit/d6dec56102cd26ba837fe6f5e5956170eaf97b0d?file_path=src%2Fpeer%2Fauthenticate.cpp#line_4eee90f04_A135

pcon is destroyed during this function call which is probably undefined
behaviour. Previously it was kept alive for the duration of the function as it
was stored as a shared pointer in the lines above.

-- 
You are receiving this mail because:
You are watching all bug changes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.