projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix another memory leak reported in CIFuzz
[openssl.git]
/
crypto
/
conf
/
conf_def.c
diff --git
a/crypto/conf/conf_def.c
b/crypto/conf/conf_def.c
index 1832cf535f88cd4b6d2cc08179b8794d1cb3c4ca..c05c3c6b109de719b1dd42c73a2ababa76bbd624 100644
(file)
--- a/
crypto/conf/conf_def.c
+++ b/
crypto/conf/conf_def.c
@@
-424,6
+424,7
@@
static int def_load_bio(CONF *conf, BIO *in, long *line)
if (!parsebool(pval, &conf->flag_abspath))
goto err;
} else if (strcmp(p, "includedir") == 0) {
+ OPENSSL_free(conf->includedir);
if ((conf->includedir = OPENSSL_strdup(pval)) == NULL) {
ERR_raise(ERR_LIB_CONF, ERR_R_MALLOC_FAILURE);
goto err;