strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b95b473
)
Fix leak in pki --pkcs7 --decrypt
author
Martin Willi
<martin@revosec.ch>
Tue, 27 Nov 2012 15:35:53 +0000
(16:35 +0100)
committer
Martin Willi
<martin@revosec.ch>
Wed, 19 Dec 2012 09:32:08 +0000
(10:32 +0100)
src/pki/commands/pkcs7.c
patch
|
blob
|
history
diff --git
a/src/pki/commands/pkcs7.c
b/src/pki/commands/pkcs7.c
index
d4dc949
..
7e2d6aa
100644
(file)
--- a/
src/pki/commands/pkcs7.c
+++ b/
src/pki/commands/pkcs7.c
@@
-205,6
+205,7
@@
static int decrypt(chunk_t chunk)
container->destroy(container);
return 1;
}
+ container->destroy(container);
write_to_stream(stdout, data);
free(data.ptr);