mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
fixed usage of uninitialized member and heap-buffer-overflow in cosmac_device (nw)
This commit is contained in:
parent
6ee6c86c69
commit
90f5269535
@ -401,6 +401,7 @@ void cosmac_device::device_reset()
|
|||||||
m_ie = 0;
|
m_ie = 0;
|
||||||
m_q = 0;
|
m_q = 0;
|
||||||
m_df = 0;
|
m_df = 0;
|
||||||
|
m_p = 0;
|
||||||
rand_memory(m_r, sizeof(m_r));
|
rand_memory(m_r, sizeof(m_r));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user