]> git.pond.sub.org Git - empserver/commit
Fix initialization of configdir
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 4 Feb 2008 06:39:42 +0000 (07:39 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 7 Feb 2008 07:01:54 +0000 (08:01 +0100)
commit91eefc3f3a727fc629f936f5ceece974f55b8ad1
tree6340b575690f710758f664a99643073fbb71fd00
parentb76e5a5eed06e7196cfbac1d70e837673ce6c140
Fix initialization of configdir

Windows code leaked memory (result of _fullpath()).

POSIX code passed a null buffer to getcwd(), which is not portable,
and failed to check for errors.
src/lib/common/emp_config.c