From 6bfad819deeff18cc871960810018e52bc1e2dbb Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Wed, 11 Apr 2012 14:47:47 +0000 Subject: [PATCH] bugfix --- bochs/iodev/network/e1000.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bochs/iodev/network/e1000.cc b/bochs/iodev/network/e1000.cc index 2a3bbac7e..ebb82886f 100644 --- a/bochs/iodev/network/e1000.cc +++ b/bochs/iodev/network/e1000.cc @@ -556,7 +556,7 @@ void bx_e1000_c::reset(unsigned type) void bx_e1000_c::register_state(void) { unsigned i; - char pname[4]; + char pname[5]; bx_list_c *list = new bx_list_c(SIM->get_bochs_root(), "e1000", "E1000 State"); new bx_shadow_data_c(list, "mac_reg", (Bit8u*)BX_E1000_THIS s.mac_reg, 0x20000);