summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src
diff options
context:
space:
mode:
authorAlexander Gluzsky <sss123next@list.ru>2016-04-04 20:53:06 +0000
committerAlexander Gluzsky <sss123next@list.ru>2016-04-04 20:53:06 +0000
commitce08c537a294e306a01981f3f02c4757cd130c92 (patch)
tree846b30595367120abc4489a3ec6ad268e1e72671 /plugins/New_GPG/src
parentbd47cdf8329c3bf81c7f2ead13c7c48f34344b93 (diff)
new_gpg:
additional sanity check in protoack git-svn-id: http://svn.miranda-ng.org/main/trunk@16588 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src')
-rwxr-xr-xplugins/New_GPG/src/utilities.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp
index 66d9d473e4..e066c585dc 100755
--- a/plugins/New_GPG/src/utilities.cpp
+++ b/plugins/New_GPG/src/utilities.cpp
@@ -272,6 +272,8 @@ int onProtoAck(WPARAM, LPARAM l)
break;
case ACKRESULT_SUCCESS:
{
+ if(!ack->hProcess)
+ break;
PROTOFILETRANSFERSTATUS *f = (PROTOFILETRANSFERSTATUS*)ack->hProcess;
if ((f->flags & PFTS_SENDING) != PFTS_SENDING) {
TCHAR *filename = NULL;