mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +01:00
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 <decker.christian@gmail.com> Reported-by: Sean McNally <@sfmcnally> Changelog-fixed: Fixed a crash when running in daemon-mode due to db filename overrun