mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[AF_RXRPC]: Add a missing goto
Add a missing goto to error handling in the RXKAD security module for AF_RXRPC. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e35de02615
commit
4aa9cb320e
1 changed files with 1 additions and 0 deletions
|
@ -1021,6 +1021,7 @@ static int rxkad_verify_response(struct rxrpc_connection *conn,
|
|||
|
||||
abort_code = RXKADINCONSISTENCY;
|
||||
if (version != RXKAD_VERSION)
|
||||
goto protocol_error;
|
||||
|
||||
abort_code = RXKADTICKETLEN;
|
||||
if (ticket_len < 4 || ticket_len > MAXKRB5TICKETLEN)
|
||||
|
|
Loading…
Reference in a new issue