summaryrefslogtreecommitdiffstats
path: root/src/squark-filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/squark-filter.c')
-rw-r--r--src/squark-filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/squark-filter.c b/src/squark-filter.c
index 5ffcedf..253bc70 100644
--- a/src/squark-filter.c
+++ b/src/squark-filter.c
@@ -461,7 +461,7 @@ static void read_input(struct sqdb *db)
}
if (b.len) {
- memcpy(buffer, b.ptr, b.len);
+ memmove(buffer, b.ptr, b.len);
b.ptr = buffer;
}
left = BLOB_PTR_LEN(buffer + b.len, sizeof(buffer) - b.len);