From: job Date: Wed, 14 Dec 2022 10:45:34 +0000 (+0000) Subject: Always initialize b64sz X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b893fe89adab4b1665be9f4123d9f2cb6c3b8fe7;p=openbsd Always initialize b64sz OK tb@ --- diff --git a/usr.sbin/rpki-client/geofeed.c b/usr.sbin/rpki-client/geofeed.c index 631d59a0bdc..ef28b033b04 100644 --- a/usr.sbin/rpki-client/geofeed.c +++ b/usr.sbin/rpki-client/geofeed.c @@ -1,4 +1,4 @@ -/* $OpenBSD: geofeed.c,v 1.7 2022/11/28 15:22:13 tb Exp $ */ +/* $OpenBSD: geofeed.c,v 1.8 2022/12/14 10:45:34 job Exp $ */ /* * Copyright (c) 2022 Job Snijders * Copyright (c) 2019 Kristaps Dzonsons @@ -104,7 +104,7 @@ geofeed_parse(X509 **x509, const char *fn, char *buf, size_t len) ssize_t linelen; BIO *bio; char *b64 = NULL; - size_t b64sz; + size_t b64sz = 0; unsigned char *der = NULL; size_t dersz; const ASN1_TIME *at;