diff options
author | David Howells <dhowells@redhat.com> | 2007-12-07 07:31:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-12-07 07:31:47 -0500 |
commit | 4aa9cb320e8081fbaec0c10eb0e077c8ca4d1ad9 (patch) | |
tree | e42c7f8f067eba0d1d8b62843516e7c42432d7a1 /net/rxrpc/rxkad.c | |
parent | e35de02615f97b785dc6f73cba421cea06bcbd10 (diff) |
[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>
Diffstat (limited to 'net/rxrpc/rxkad.c')
-rw-r--r-- | net/rxrpc/rxkad.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rxrpc/rxkad.c b/net/rxrpc/rxkad.c index e09a95aa68ff..8e69d6993833 100644 --- a/net/rxrpc/rxkad.c +++ b/net/rxrpc/rxkad.c | |||
@@ -1021,6 +1021,7 @@ static int rxkad_verify_response(struct rxrpc_connection *conn, | |||
1021 | 1021 | ||
1022 | abort_code = RXKADINCONSISTENCY; | 1022 | abort_code = RXKADINCONSISTENCY; |
1023 | if (version != RXKAD_VERSION) | 1023 | if (version != RXKAD_VERSION) |
1024 | goto protocol_error; | ||
1024 | 1025 | ||
1025 | abort_code = RXKADTICKETLEN; | 1026 | abort_code = RXKADTICKETLEN; |
1026 | if (ticket_len < 4 || ticket_len > MAXKRB5TICKETLEN) | 1027 | if (ticket_len < 4 || ticket_len > MAXKRB5TICKETLEN) |