mirror of
https://github.com/holub/mame
synced 2025-10-05 00:38:58 +03:00
fixed unitialized memory in osd_file (nw)
This commit is contained in:
parent
e111fe61f3
commit
d61e5d5a15
@ -103,6 +103,7 @@ file_error osd_open(const char *path, UINT32 openflags, osd_file **file, UINT64
|
||||
filerr = FILERR_OUT_OF_MEMORY;
|
||||
goto error;
|
||||
}
|
||||
memset(*file, 0x00, sizeof(**file) + sizeof(TCHAR) * _tcslen(t_path));
|
||||
|
||||
if (win_check_socket_path(path))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user