aboutsummaryrefslogtreecommitdiffstats
path: root/common/logging.c
diff options
context:
space:
mode:
authorJim Meyering <[email protected]>2011-09-20 14:26:37 +0000
committerWerner Koch <[email protected]>2011-09-20 16:12:07 +0000
commitb8b4d5c9e55c73b2a2f0f3b5aee292de2bb0b512 (patch)
tree42af054d65dea20526e059c2090bc0480154e286 /common/logging.c
parentReplace gcry_md_start_debug by gcry_md_debug. (diff)
downloadgnupg-b8b4d5c9e55c73b2a2f0f3b5aee292de2bb0b512.tar.gz
gnupg-b8b4d5c9e55c73b2a2f0f3b5aee292de2bb0b512.zip
avoid use of freed pointer
Without this patch, pk2 would be freed twice. >From 2a18a4b757e0896e738fefbbaa8ff8c23a9edf89 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Tue, 20 Sep 2011 16:20:39 +0200 Subject: [PATCH] avoid use of freed pointer If we free pk2 at the top of the for-loop, set it to NULL so that we don't free it again just before returning. * revoke.c (gen_desig_revoke): Don't use pk2 after freeing it.
Diffstat (limited to 'common/logging.c')
0 files changed, 0 insertions, 0 deletions