From 60ab5b84ffe834ecc99de83da07a270719e62f8a Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 29 Jun 1999 02:03:02 +0000 Subject: [PATCH] * replay.c (MATCH): Fix up to compare the correct components of the input address. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11533 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 5 +++++ src/kdc/replay.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index f05b0d796..c5162ccf5 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,8 @@ +1999-06-28 Tom Yu + + * replay.c (MATCH): Fix up to compare the correct components of + the input address. + Fri Apr 30 00:05:07 1999 Tom Yu * kerberos_v4.c (kerberos_v4): Fix bug where krb_create_ticket() diff --git a/src/kdc/replay.c b/src/kdc/replay.c index a65ffb3eb..e0f3c8fd1 100644 --- a/src/kdc/replay.c +++ b/src/kdc/replay.c @@ -54,7 +54,8 @@ static int num_entries = 0; !memcmp((ptr)->req_packet->data, inpkt->data, \ inpkt->length) && \ ((ptr)->addr->length == from->address->length) && \ - !memcmp((ptr)->addr->contents, from->address, \ + !memcmp((ptr)->addr->contents, \ + from->address->contents, \ from->address->length)&& \ ((ptr)->db_age == db_age)) /* XXX -- 2.26.2