artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc6eebb
)
ca_x509_serialize: don't leak the bio buffer; ok reyk@
author
markus
<markus@openbsd.org>
Mon, 5 May 2014 18:56:42 +0000
(18:56 +0000)
committer
markus
<markus@openbsd.org>
Mon, 5 May 2014 18:56:42 +0000
(18:56 +0000)
sbin/iked/ca.c
patch
|
blob
|
history
diff --git
a/sbin/iked/ca.c
b/sbin/iked/ca.c
index
d6076f5
..
cb20531
100644
(file)
--- a/
sbin/iked/ca.c
+++ b/
sbin/iked/ca.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ca.c,v 1.2
8 2014/05/05 18:54:17
markus Exp $ */
+/* $OpenBSD: ca.c,v 1.2
9 2014/05/05 18:56:42
markus Exp $ */
/*
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
@@
-784,6
+784,7
@@
ca_x509_serialize(X509 *x509)
len = BIO_get_mem_data(out, &d);
buf = ibuf_new(d, len);
+ BIO_free(out);
return (buf);
}