1
0
Fork 0

Fix "Alt+;" on NULL can use this invisible command (#1365)

This commit is contained in:
Torusrxxx 2016-12-12 16:21:43 +00:00 committed by Duncan Ogilvie
parent 1d7a83053a
commit f356ea5b2f
1 changed files with 2 additions and 1 deletions

View File

@ -859,7 +859,8 @@ void CPUDisassembly::setLabelAddressSlot()
addr = instr_info.addr;
else
return;
if(!DbgMemIsValidReadPtr(addr))
return;
LineEditDialog mLineEdit(this);
QString addr_text = ToPtrString(addr);
char label_text[MAX_LABEL_SIZE] = "";