SETranslatingPortProxy: fix bug in tryReadString()
authorSteve Reinhardt <steve.reinhardt@amd.com>
Mon, 6 Aug 2012 23:57:11 +0000 (16:57 -0700)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Mon, 6 Aug 2012 23:57:11 +0000 (16:57 -0700)
commitf4b424cd539eed26de18e81fd9d433cd6ae6295b
treea5aaa579d251e83613e13f3a53acd58aced6ab17
parent73ef8bd168795855cd23e56dd6739dfa23a77eb8
SETranslatingPortProxy: fix bug in tryReadString()

Off-by-one loop termination meant that we were stuffing
the terminating '\0' into the std::string value, which
makes for difficult-to-debug string comparison failures.
src/mem/se_translating_port_proxy.cc