mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +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>
(cherry picked from commit e065d2bb3f)
This commit is contained in:
@@ -111,8 +111,8 @@ static int pki_private_key_decrypt(ssh_string blob,
|
||||
uint8_t key_material[128] = {0};
|
||||
char passphrase_buffer[128] = {0};
|
||||
size_t key_material_len;
|
||||
ssh_buffer buffer;
|
||||
ssh_string salt;
|
||||
ssh_buffer buffer = NULL;
|
||||
ssh_string salt = NULL;
|
||||
uint32_t rounds;
|
||||
int cmp;
|
||||
int rc;
|
||||
|
||||
Reference in New Issue
Block a user