1
0
forked from bip/bip

Fix off by one in path allocation for oident file path.

Hell, that's lame.
This commit is contained in:
Arnaud Cornet 2007-09-13 17:02:00 +02:00
parent 7967a47be0
commit ba4b9b9941

View File

@ -2057,7 +2057,7 @@ void oidentd_dump(list_t *connl)
return;
}
filename = (char *)malloc(strlen(home) + strlen("/.oidentd.conf"));
filename = (char *)malloc(strlen(home) + strlen("/.oidentd.conf") + 1);
if(filename == NULL)
fatal("Out of memory.");