artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41886b6
)
Don't leak cert in aspa_parse()
author
tb
<tb@openbsd.org>
Mon, 5 Sep 2022 12:25:32 +0000
(12:25 +0000)
committer
tb
<tb@openbsd.org>
Mon, 5 Sep 2022 12:25:32 +0000
(12:25 +0000)
ok job
usr.sbin/rpki-client/aspa.c
patch
|
blob
|
history
diff --git
a/usr.sbin/rpki-client/aspa.c
b/usr.sbin/rpki-client/aspa.c
index
4085a82
..
8b3e509
100644
(file)
--- a/
usr.sbin/rpki-client/aspa.c
+++ b/
usr.sbin/rpki-client/aspa.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: aspa.c,v 1.
2 2022/09/03 14:40:09 jo
b Exp $ */
+/* $OpenBSD: aspa.c,v 1.
3 2022/09/05 12:25:32 t
b Exp $ */
/*
* Copyright (c) 2022 Job Snijders <job@fastly.com>
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
@@
-251,6
+251,7
@@
aspa_parse(X509 **x509, const char *fn, const unsigned char *der, size_t len)
X509_free(*x509);
*x509 = NULL;
}
+ cert_free(cert);
free(cms);
return p.res;
}