mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
pki: Make error handling code reachable again.
Found by Coverity.
This commit is contained in:
@@ -562,7 +562,7 @@ static int pki_import_pubkey_buffer(ssh_buffer buffer,
|
|||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
pubkey = buffer_get_ssh_string(buffer);
|
pubkey = buffer_get_ssh_string(buffer);
|
||||||
if (g == NULL) {
|
if (pubkey == NULL) {
|
||||||
ssh_string_burn(p);
|
ssh_string_burn(p);
|
||||||
ssh_string_free(p);
|
ssh_string_free(p);
|
||||||
ssh_string_burn(q);
|
ssh_string_burn(q);
|
||||||
|
Reference in New Issue
Block a user