diff -ru ulogd-2.0.5.orig/src/ulogd.c ulogd-2.0.5/src/ulogd.c
--- ulogd-2.0.5.orig/src/ulogd.c	2016-03-15 16:15:23.743995611 +0200
+++ ulogd-2.0.5/src/ulogd.c	2016-03-16 15:59:31.459082159 +0200
@@ -571,7 +571,7 @@
 	INIT_LLIST_HEAD(&pi->plist);
 	pi->plugin = pl;
 	pi->stack = stack;
-	memcpy(pi->id, pi_id, sizeof(pi->id));
+	strncpy(pi->id, pi_id, sizeof(pi->id));
 
 	ptr = (void *)pi + sizeof(*pi);
 
