mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
Fix memory leak (reported by Boris Berezovsky)
--HG-- extra : convert_revision : 22fe832906de79fb9c641451acce4551bbce9a0c
This commit is contained in:
parent
8bc7b0ff5a
commit
347e8bd839
2
dss.c
2
dss.c
@ -419,7 +419,7 @@ void buf_put_dss_sign(buffer* buf, dss_key *key, const unsigned char* data,
|
||||
mp_clear(&dss_s);
|
||||
buf_incrwritepos(buf, writelen);
|
||||
|
||||
mp_clear_multi(&dss_k, &dss_temp1, &dss_temp1, &dss_r, &dss_s,
|
||||
mp_clear_multi(&dss_k, &dss_temp1, &dss_temp2, &dss_r, &dss_s,
|
||||
&dss_m, NULL);
|
||||
|
||||
/* create the signature to return */
|
||||
|
Loading…
Reference in New Issue
Block a user