Skip to content

Check the return from BN_sub() in BN_X931_generate_Xpq().#7088

Closed
paulidale wants to merge 1 commit intoopenssl:masterfrom
paulidale:bn-x931-generate-xpq
Closed

Check the return from BN_sub() in BN_X931_generate_Xpq().#7088
paulidale wants to merge 1 commit intoopenssl:masterfrom
paulidale:bn-x931-generate-xpq

Conversation

@paulidale
Copy link
Contributor

The return code from BN_sub() in BN_X931_generate_Xpq() wasn't being checked for failure.
This adds such a check.

Fixes: #6983

@paulidale paulidale added branch: master Applies to master branch branch: 1.0.2 Applies to OpenSSL_1_0_2-stable branch (EOL) 1.1.0 branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL) labels Sep 2, 2018
levitte pushed a commit that referenced this pull request Sep 3, 2018
levitte pushed a commit that referenced this pull request Sep 3, 2018
Reviewed-by: Tim Hudson <[email protected]>
(Merged from #7088)

(cherry picked from commit 6bcfcf1)
levitte pushed a commit that referenced this pull request Sep 3, 2018
Reviewed-by: Tim Hudson <[email protected]>
(Merged from #7088)

(cherry picked from commit 6bcfcf1)
@paulidale
Copy link
Contributor Author

Merge to 1.0.2, 1.1.0 and master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch: master Applies to master branch branch: 1.0.2 Applies to OpenSSL_1_0_2-stable branch (EOL) branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants