diff options
Diffstat (limited to 'nscd/pwdcache.c')
-rw-r--r-- | nscd/pwdcache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c index 0461ec91ce..ab41bcc0d5 100644 --- a/nscd/pwdcache.c +++ b/nscd/pwdcache.c @@ -274,6 +274,7 @@ cache_addpw (struct database_dyn *db, int fd, request_header *req, { /* Adjust pointer into the memory block. */ cp = (char *) newp + (cp - (char *) dataset); + key_copy = (char *) newp + (key_copy - (char *) dataset); dataset = memcpy (newp, dataset, total + n); alloca_used = false; |