Loading crypto/conf/conf_def.c +5 −1 Original line number Diff line number Diff line Loading @@ -570,7 +570,11 @@ static int str_copy(CONF *conf, char *section, char **pto, char *from) CONFerr(CONF_F_STR_COPY, CONF_R_VARIABLE_HAS_NO_VALUE); goto err; } BUF_MEM_grow_clean(buf, (strlen(p) + buf->length - (e - from))); if (!BUF_MEM_grow_clean(buf, (strlen(p) + buf->length - (e - from)))) { CONFerr(CONF_F_STR_COPY, ERR_R_MALLOC_FAILURE); goto err; } while (*p) buf->data[to++] = *(p++); Loading Loading
crypto/conf/conf_def.c +5 −1 Original line number Diff line number Diff line Loading @@ -570,7 +570,11 @@ static int str_copy(CONF *conf, char *section, char **pto, char *from) CONFerr(CONF_F_STR_COPY, CONF_R_VARIABLE_HAS_NO_VALUE); goto err; } BUF_MEM_grow_clean(buf, (strlen(p) + buf->length - (e - from))); if (!BUF_MEM_grow_clean(buf, (strlen(p) + buf->length - (e - from)))) { CONFerr(CONF_F_STR_COPY, ERR_R_MALLOC_FAILURE); goto err; } while (*p) buf->data[to++] = *(p++); Loading