Description: Fix absolute path
Forwarded: no
Author: Unknown
--- a/ntreg.c
+++ b/ntreg.c
@@ -1511,6 +1511,7 @@
   }
 
   strncpy(tmp,path,ABSPATHLEN-1);
+  tmp[ABSPATHLEN-1] = '\0';
 
   if (key->type & 0x20)
     keyname = mem_str(key->keyname, key->len_name);
