summaryrefslogtreecommitdiff
path: root/lib/dns/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dns/time.c')
-rw-r--r--lib/dns/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dns/time.c b/lib/dns/time.c
index 0f245a246a9d..d331ca3bfe10 100644
--- a/lib/dns/time.c
+++ b/lib/dns/time.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2004, 2005, 2007, 2009-2012 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009-2012, 2014 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1998-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -98,7 +98,7 @@ dns_time64_totext(isc_int64_t t, isc_buffer_t *target) {
if (l > region.length)
return (ISC_R_NOSPACE);
- memcpy(region.base, buf, l);
+ memmove(region.base, buf, l);
isc_buffer_add(target, l);
return (ISC_R_SUCCESS);
}