From: Ken Hornstein Date: Thu, 19 Feb 2004 17:51:40 +0000 (+0000) Subject: Bug from David Thompson . Bug originally introduced X-Git-Tag: krb5-1.4-beta1~599 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2f6ea9303f3981e26929c3791a0b2dd9ac05610f;p=krb5.git Bug from David Thompson . Bug originally introduced 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 --- diff --git a/src/kdc/fakeka.c b/src/kdc/fakeka.c index 040e88845..452d8d3d8 100644 --- a/src/kdc/fakeka.c +++ b/src/kdc/fakeka.c @@ -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;