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 b240ca6

Browse filesBrowse files
wooffietargos
authored andcommitted
src: add check for Bignum in GroupOrderSize
I think it's missed, cause in this file we have example of checking result of BignumPointer::new Refs: #56692 PR-URL: #56702 Fixes: #56692 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent c8bd2ba commit b240ca6
Copy full SHA for b240ca6

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/crypto/crypto_ec.cc‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_ec.cc
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,7 @@ size_t GroupOrderSize(const EVPKeyPointer& key) {
918918
const EC_KEY* ec = key;
919919
CHECK_NOT_NULL(ec);
920920
auto order = BignumPointer::New();
921+
CHECK(order);
921922
CHECK(EC_GROUP_get_order(ECKeyPointer::GetGroup(ec), order.get(), nullptr));
922923
return order.byteLength();
923924
}

0 commit comments

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