Diff of /daemon/opd_anon.c [ecfbcc] .. [74abfb]  Maximize  Restore

  Switch to side-by-side view

--- a/daemon/opd_anon.c
+++ b/daemon/opd_anon.c
@@ -114,7 +114,7 @@
 	m->app_cookie = trans->app_cookie;
 	m->start = start;
 	m->end = end;
-	strncpy(m->name, name, MAX_IMAGE_NAME_SIZE + 1);
+	strncpy(m->name, name, MAX_IMAGE_NAME_SIZE);
 	list_add_tail(&m->list, &hashes[hash]);
 	list_add_tail(&m->lru_list, &lru);
 	if (++nr_lru == LRU_SIZE)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks