mirror of
https://github.com/clearml/dropbear
synced 2025-02-12 07:25:30 +00:00
fix missing arglist NULL terminator
This commit is contained in:
parent
d260d5148e
commit
169f41a43c
2
dss.c
2
dss.c
@ -94,7 +94,7 @@ int buf_get_dss_priv_key(buffer* buf, dropbear_dss_key *key) {
|
|||||||
m_mp_alloc_init_multi(&key->x, NULL);
|
m_mp_alloc_init_multi(&key->x, NULL);
|
||||||
ret = buf_getmpint(buf, key->x);
|
ret = buf_getmpint(buf, key->x);
|
||||||
if (ret == DROPBEAR_FAILURE) {
|
if (ret == DROPBEAR_FAILURE) {
|
||||||
m_mp_free_multi(&key->x);
|
m_mp_free_multi(&key->x, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user