1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-08 12:44:23 +01:00
Jim Meyering b8b4d5c9e5 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 <meyering@redhat.com>
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.
2011-09-20 18:12:07 +02:00
..
2011-03-03 12:40:54 +01:00
2011-02-08 21:11:19 +01:00
2011-03-08 12:23:59 +01:00
2011-09-20 18:12:07 +02:00
2011-02-04 12:57:53 +01:00
2011-04-28 10:51:14 +02:00
2011-02-04 12:57:53 +01:00
2007-07-04 19:49:40 +00:00
2011-08-10 14:11:30 +02:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-08-10 14:11:30 +02:00
2011-08-10 14:11:30 +02:00
2011-02-03 17:40:43 +01:00
2011-03-03 13:01:03 +01:00
2011-02-04 12:57:53 +01:00
2011-03-03 13:01:03 +01:00
2011-03-10 18:39:34 +01:00
2011-06-13 14:54:40 +02:00
2011-02-03 16:35:33 +01:00
2011-09-20 18:12:07 +02:00
2008-12-12 08:54:50 +00:00
2011-06-01 21:43:30 +02:00
2011-08-10 14:11:30 +02:00
2011-02-04 12:57:53 +01:00