Initialize 'pathname' pointer with NULL to avoid crash.

This commit is contained in:
Volker Ruppert 2017-01-30 22:09:13 +00:00
parent 7fd9194d81
commit 3de865c753
2 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,8 @@ Changes after 2.6.8 release:
- Added standard bus mouse support in addition to the existing InPort
emulation code. (patch by Ben Lunt).
- Hard drive
- Implemented lock mechanism for hard disk images. An image that is opened
in r/w mode cannot be used multiple times (e.g. by another Bochs session).
- Several fixes in some disk image modes.
- Serial / Parallel ports
- Added support for changing output file at runtime.

View File

@ -1445,6 +1445,7 @@ ssize_t dll_image_t::write(const void* buf, size_t count)
redolog_t::redolog_t()
{
fd = -1;
pathname = NULL;
catalog = NULL;
bitmap = NULL;
extent_index = (Bit32u)0;