Skip to content

Commit

Permalink
add null termination count
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel40791765 committed May 24, 2024
1 parent ecce5ad commit 35b0e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/conf/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ int CONF_modules_load_file(const char *filename, const char *appname,

char *CONF_get1_default_config_file(void) {
const char *temp = "No support for Config files in AWS-LC.";
size_t temp_len = strlen(temp);
size_t temp_len = strlen(temp) + 1;

char *ret = (char *)OPENSSL_malloc(temp_len);
if(ret == NULL) {
Expand Down

0 comments on commit 35b0e8d

Please sign in to comment.