* replay.c (MATCH): Fix up to compare the correct components of
authorTom Yu <tlyu@mit.edu>
Tue, 29 Jun 1999 02:03:02 +0000 (02:03 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 29 Jun 1999 02:03:02 +0000 (02:03 +0000)
the input address.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11533 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/ChangeLog
src/kdc/replay.c

index f05b0d7963f1bb2988848cd6c7f9342d326592d4..c5162ccf59afa1be657fc9b8abea5944129b669c 100644 (file)
@@ -1,3 +1,8 @@
+1999-06-28  Tom Yu  <tlyu@mit.edu>
+
+       * replay.c (MATCH): Fix up to compare the correct components of
+       the input address.
+
 Fri Apr 30 00:05:07 1999  Tom Yu  <tlyu@mit.edu>
 
        * kerberos_v4.c (kerberos_v4): Fix bug where krb_create_ticket()
index a65ffb3eb77b974d2fc30ba8df73cc7a6d0d2dfa..e0f3c8fd128054816db85e10b67a9aca4259e9e1 100644 (file)
@@ -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