projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0cb22b
)
Free a temporary buffer used by dsaparam application
author
Matt Caswell
<matt@openssl.org>
Wed, 27 Apr 2016 13:54:58 +0000
(14:54 +0100)
committer
Matt Caswell
<matt@openssl.org>
Wed, 1 Jun 2016 17:00:53 +0000
(18:00 +0100)
The dsaparam application allocates a temporary buffer but then doesn't
free it.
Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/dsaparam.c
patch
|
blob
|
history
diff --git
a/apps/dsaparam.c
b/apps/dsaparam.c
index c12bd7046a87ba2f4afe9524920fef1d33cc4d93..cd2ca4c3f7c9c4518f99970f41b7c1b2f6094481 100644
(file)
--- a/
apps/dsaparam.c
+++ b/
apps/dsaparam.c
@@
-244,6
+244,7
@@
int dsaparam_main(int argc, char **argv)
" return NULL;\n"
" }\n"
" return(dsa);\n}\n");
+ OPENSSL_free(data);
}
if (!noout) {