qt5base-lts/examples/network/torrent
Mårten Nordheim 32098963f2 Torrent example: Fix use-after-free crash
The crash would sometimes happen shortly after removing a torrent
since the RateController would still try to use it even though
it had been deallocated.

Pick-to: 6.5
Task-number: QTBUG-110622
Change-Id: Icad1531ea58560a3a3157a3ed8c0e6b283573196
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Konrad Kujawa <konrad.kujawa@qt.io>
2023-02-21 13:04:44 +01:00
..
icons Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
addtorrentdialog.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
addtorrentdialog.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
addtorrentform.ui Fix CMake build of network/torrent example 2021-02-15 13:40:08 +00:00
bencodeparser.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
bencodeparser.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
connectionmanager.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
connectionmanager.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
filemanager.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
filemanager.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
icons.qrc Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
main.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
mainwindow.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
mainwindow.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
metainfo.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
metainfo.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
peerwireclient.cpp Torrent example: Fix some stack overflow issues 2023-02-21 13:04:44 +01:00
peerwireclient.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
ratecontroller.cpp examples: port network examples to new connection style 2022-12-21 21:52:17 +01:00
ratecontroller.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
torrent.pro Fix CMake build of network/torrent example 2021-02-15 13:40:08 +00:00
torrentclient.cpp Torrent example: Fix use-after-free crash 2023-02-21 13:04:44 +01:00
torrentclient.h Torrent example: delete unimplemented functions 2023-02-14 18:49:46 +01:00
torrentserver.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
torrentserver.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
trackerclient.cpp Torrent example: Convert some timeouts from int to chrono 2023-02-14 18:49:45 +01:00
trackerclient.h Torrent example: Convert some timeouts from int to chrono 2023-02-14 18:49:45 +01:00