Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a760a87

Browse filesBrowse files
skomskiFishrock123
authored andcommitted
crypto: fix memory leak in SafeX509ExtPrint
PR-URL: #2375 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent f45487c commit a760a87
Copy full SHA for a760a87

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Open diff view settings
Collapse file

‎src/node_crypto.cc‎

Copy file name to clipboardExpand all lines: src/node_crypto.cc
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,6 +1297,7 @@ static bool SafeX509ExtPrint(BIO* out, X509_EXTENSION* ext) {
12971297
if (nval == NULL)
12981298
return false;
12991299
X509V3_EXT_val_prn(out, nval, 0, 0);
1300+
sk_CONF_VALUE_pop_free(nval, X509V3_conf_free);
13001301
}
13011302
}
13021303
sk_GENERAL_NAME_pop_free(names, GENERAL_NAME_free);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.