Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
mbedtls
Commits
75a2860f
Commit
75a2860f
authored
Mar 31, 2014
by
Paul Bakker
Browse files
Potential memory leak in mpi_exp_mod() when error occurs during
calculation of RR.
parent
dd75c318
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
ChangeLog
ChangeLog
+2
-0
library/bignum.c
library/bignum.c
+1
-1
No files found.
ChangeLog
View file @
75a2860f
...
...
@@ -9,6 +9,8 @@ Security
Bugfix
* The length of various ClientKeyExchange messages was not properly checked.
* Some example server programs were not sending the close_notify alert.
* Potential memory leak in mpi_exp_mod() when error occurs during
calculation of RR.
= PolarSSL 1.3.5 released on 2014-03-26
Features
...
...
library/bignum.c
View file @
75a2860f
...
...
@@ -1715,7 +1715,7 @@ cleanup:
mpi_free
(
&
W
[
1
]
);
mpi_free
(
&
T
);
mpi_free
(
&
Apos
);
if
(
_RR
==
NULL
)
if
(
_RR
==
NULL
||
_RR
->
p
==
NULL
)
mpi_free
(
&
RR
);
return
(
ret
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment