diff options
author | Damien Miller <djm@mindrot.org> | 2011-12-19 10:52:50 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2011-12-19 10:52:50 +1100 |
commit | 8ed4de8f1dcebddd7edc0dd3c10f1cb947d831eb (patch) | |
tree | 3c9442e4dfcae3662f42cb53cccc7e45f98c0897 /roaming_client.c | |
parent | 913ddff40d090751d50be2339cd859505b24f65b (diff) |
- djm@cvs.openbsd.org 2011/12/07 05:44:38
[auth2.c dh.c packet.c roaming.h roaming_client.c roaming_common.c]
fix some harmless and/or unreachable int overflows;
reported Xi Wang, ok markus@
Diffstat (limited to 'roaming_client.c')
-rw-r--r-- | roaming_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roaming_client.c b/roaming_client.c index cea8e7360..48009d781 100644 --- a/roaming_client.c +++ b/roaming_client.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: roaming_client.c,v 1.3 2010/01/18 01:50:27 dtucker Exp $ */ | 1 | /* $OpenBSD: roaming_client.c,v 1.4 2011/12/07 05:44:38 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2004-2009 AppGate Network Security AB | 3 | * Copyright (c) 2004-2009 AppGate Network Security AB |
4 | * | 4 | * |
@@ -72,7 +72,7 @@ roaming_reply(int type, u_int32_t seq, void *ctxt) | |||
72 | cookie = packet_get_int64(); | 72 | cookie = packet_get_int64(); |
73 | key1 = oldkey1 = packet_get_int64(); | 73 | key1 = oldkey1 = packet_get_int64(); |
74 | key2 = oldkey2 = packet_get_int64(); | 74 | key2 = oldkey2 = packet_get_int64(); |
75 | set_out_buffer_size(packet_get_int() + get_snd_buf_size()); | 75 | set_out_buffer_size(packet_get_int() + get_snd_buf_size()); |
76 | roaming_enabled = 1; | 76 | roaming_enabled = 1; |
77 | } | 77 | } |
78 | 78 | ||