From db729bf516ff9850f55ea542f9a5be7fe9254957 Mon Sep 17 00:00:00 2001 From: Ilari Liusvaara Date: Wed, 24 Oct 2012 22:07:14 +0300 Subject: [PATCH] Memory commands: Memory addresses are up to 16 hex digits, not up to 8 --- src/core/memorymanip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/memorymanip.cpp b/src/core/memorymanip.cpp index 6dc8ed0b..8072d96a 100644 --- a/src/core/memorymanip.cpp +++ b/src/core/memorymanip.cpp @@ -987,7 +987,7 @@ namespace has_value = (secondword != ""); try { if(t = regex("0x(.+)", firstword)) { - if(t[1].length() > 8) + if(t[1].length() > 16) throw 42; address = 0; for(unsigned i = 0; i < t[1].length(); i++) -- 2.11.4.GIT