mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
messages: Fix memory leak in ssh_packet_userauth_request
Found by AddressSanitizer. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -839,6 +839,7 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_request){
|
||||
|
||||
msg->auth_request.signature_state = SSH_PUBLICKEY_STATE_VALID;
|
||||
}
|
||||
ssh_string_free(algo);
|
||||
goto end;
|
||||
}
|
||||
#ifdef WITH_GSSAPI
|
||||
|
||||
Reference in New Issue
Block a user