mirror of https://github.com/BOINC/boinc.git
VBOX: Possible fix for endless loop.
This commit is contained in:
parent
38d8041523
commit
54a2715e8f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue