Bug from David Thompson <thomas@cs.wisc.edu>. Bug originally introduced
authorKen Hornstein <kenh@cmf.nrl.navy.mil>
Thu, 19 Feb 2004 17:51:40 +0000 (17:51 +0000)
committerKen Hornstein <kenh@cmf.nrl.navy.mil>
Thu, 19 Feb 2004 17:51:40 +0000 (17:51 +0000)
by me during conversion from bcopy() to memcpy().

ticket: 2258

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

src/kdc/fakeka.c

index 040e88845c3d74c94aae77e9570e68b9c26a6331..452d8d3d86e6d74ec6e9c9c173a638b09e35ff14 100644 (file)
@@ -1361,7 +1361,7 @@ char **argv;
            /*
             * copy the forwarder header and adjust the bases and lengths.
             */
-           memcpy(reply.data, reply.data, HEADER_LEN);
+           memcpy(reply.data, req.data, HEADER_LEN);
            req.base += HEADER_LEN;
            req.len -= HEADER_LEN;
            reply.base += HEADER_LEN;