diff --git a/daemons/dmfilemapd/dmfilemapd.c b/daemons/dmfilemapd/dmfilemapd.c index 3fd76b761..6e25c5ced 100644 --- a/daemons/dmfilemapd/dmfilemapd.c +++ b/daemons/dmfilemapd/dmfilemapd.c @@ -593,6 +593,7 @@ check_unlinked: getpid(), fm->fd); return 0; } + link_buf[len] = '\0'; /* * Try to re-open the file, from the path now reported in /proc/pid/fd.