Commit c015232a authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger: Registers: Limit overly long values.

parent de39459b
......@@ -223,6 +223,8 @@ void RegisterHandler::calculateWidth()
foreach(const Register &reg, m_registers)
if (reg.value.size() > m_strlen)
m_strlen = reg.value.size();
if (m_strlen > 40) // Allow for 128bit, but restrict overly ling CDB register arrays.
m_strlen = 40;
}
void RegisterHandler::setNumberBase(int base)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment