Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP OpenSSL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP OpenSSL
Commits
837e1b68
Commit
837e1b68
authored
13 years ago
by
Bodo Möller
Browse files
Options
Downloads
Patches
Plain Diff
Fix memory leak on bad inputs.
parent
ae53b299
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES
+6
-0
6 additions, 0 deletions
CHANGES
crypto/asn1/x_name.c
+3
-1
3 additions, 1 deletion
crypto/asn1/x_name.c
with
9 additions
and
1 deletion
CHANGES
+
6
−
0
View file @
837e1b68
...
...
@@ -418,6 +418,9 @@
Changes between 1.0.0d and 1.0.0e [xx XXX xxxx]
*) Fix x509_name_ex_d2i memory leak on bad inputs.
[Bodo Moeller]
*) Remove hard coded ecdsaWithSHA1 signature tests in ssl code and check
signature public key algorithm by using OID xref utilities instead.
Before this you could only use some ECC ciphersuites with SHA1 only.
...
...
@@ -1312,6 +1315,9 @@
Changes between 0.9.8r and 0.9.8s [xx XXX xxxx]
*) Fix x509_name_ex_d2i memory leak on bad inputs.
[Bodo Moeller]
*) Add protection against ECDSA timing attacks as mentioned in the paper
by Billy Bob Brumley and Nicola Tuveri, see:
...
...
This diff is collapsed.
Click to expand it.
crypto/asn1/x_name.c
+
3
−
1
View file @
837e1b68
...
...
@@ -214,7 +214,9 @@ static int x509_name_ex_d2i(ASN1_VALUE **val,
*
val
=
nm
.
a
;
*
in
=
p
;
return
ret
;
err:
err:
if
(
nm
.
x
!=
NULL
)
X509_NAME_free
(
nm
.
x
);
ASN1err
(
ASN1_F_X509_NAME_EX_D2I
,
ERR_R_NESTED_ASN1_ERROR
);
return
0
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment