mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-12 11:10:28 +09:00
pki_container_openssh: Initialize pointers to NULL
Fixes T190 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
@@ -111,8 +111,8 @@ static int pki_private_key_decrypt(ssh_string blob,
|
|||||||
uint8_t key_material[128] = {0};
|
uint8_t key_material[128] = {0};
|
||||||
char passphrase_buffer[128] = {0};
|
char passphrase_buffer[128] = {0};
|
||||||
size_t key_material_len;
|
size_t key_material_len;
|
||||||
ssh_buffer buffer;
|
ssh_buffer buffer = NULL;
|
||||||
ssh_string salt;
|
ssh_string salt = NULL;
|
||||||
uint32_t rounds;
|
uint32_t rounds;
|
||||||
int cmp;
|
int cmp;
|
||||||
int rc;
|
int rc;
|
||||||
|
|||||||
Reference in New Issue
Block a user