OSDN Git Service

kget: check if torrent handle is valid before using it
authorIvailo Monev <xakepa10@gmail.com>
Thu, 9 Dec 2021 02:19:08 +0000 (04:19 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Thu, 9 Dec 2021 02:19:21 +0000 (04:19 +0200)
commit2f0f2be4434bd434b1df5baa44eab676e1774454
treed10aba0aec75d866477e6cc42cc9f82fd4853ff6
parentaf776f2f1a14a2e19cd992b9ea865986e554940d
kget: check if torrent handle is valid before using it

fixes abort/crash when torrent data is deleted via means other than KGet

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
kget/transfer-plugins/torrent/transferTorrent.cpp