Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
1da75fad
Commit
1da75fad
authored
Jul 12, 2018
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leak in eccdata.
parent
62b09e9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
ChangeLog
ChangeLog
+5
-0
eccdata.c
eccdata.c
+1
-1
No files found.
ChangeLog
View file @
1da75fad
2018-07-12 Niels Möller <nisse@lysator.liu.se>
* eccdata.c (output_curve): Replace mpz_init_set_ui by mpz_set_ui,
to fix memory leak.
2018-07-08 Niels Möller <nisse@lysator.liu.se>
* fat-x86_64.c (fat_init): Fix setup for nettle_sha1_compress.
...
...
eccdata.c
View file @
1da75fad
...
...
@@ -1143,7 +1143,7 @@ output_curve (const struct ecc_curve *ecc, unsigned bits_per_limb)
printf
(
"#else
\n
"
);
mpz_
init_
set_ui
(
t
,
1
);
mpz_set_ui
(
t
,
1
);
output_bignum
(
"ecc_unit"
,
t
,
limb_size
,
bits_per_limb
);
printf
(
"static const mp_limb_t ecc_table[%lu] = {"
,
...
...
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