pcsx2:debugger: avoid strlen call on random data

This commit is contained in:
Gregory Hainaut 2015-09-10 13:46:36 +02:00
parent 0bcaff4214
commit c687c73edd
1 changed files with 2 additions and 0 deletions

View File

@ -992,6 +992,8 @@ void DisassemblyData::createLines()
}
break;
default:
// Avoid a call to strlen with random data
buffer[0] = 0;
break;
}