VBOX: Possible fix for endless loop.

This commit is contained in:
Rom Walton 2015-08-28 16:01:48 -04:00
parent 38d8041523
commit 54a2715e8f
1 changed files with 1 additions and 2 deletions

View File

@ -607,8 +607,7 @@ void VBOX_BASE::sanitize_output(std::string& output) {
iter = output.begin();
while (iter != output.end()) {
if (*iter == '%') {
iter = output.insert(iter, '%');
++iter;
iter = output.insert(iter+1, '%');
} else {
++iter;
}