rcinput:killTimer check if iterator is not corrupted, possible segfault

This commit is contained in:
Jacek Jendrzej
2019-10-13 16:42:49 +02:00
parent 06e6fd5904
commit 907c5b52ce

View File

@@ -525,6 +525,7 @@ int CRCInput::checkTimers()
if ( e->times_out> _newtimer.times_out )
break;
if(e != timers.end())
timers.insert(e, _newtimer);
}
else