Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
daemon: Fix issue 2348, db->filenam not being correctly initialized
We were not correctly allocating the `db->filename`, failing to copy the null-terminator. This was causing and error when reopening the database after the call to `fork()`. Signed-off-by: Christian Decker <[email protected]> Reported-by: Sean McNally <@sfmcnally> Changelog-fixed: Fixed a crash when running in daemon-mode due to db filename overrun
- Loading branch information