mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-11 15:41:08 +02:00
rcinput:killTimer check if iterator is not corrupted, possible segfault
This commit is contained in:
@@ -525,6 +525,7 @@ int CRCInput::checkTimers()
|
|||||||
if ( e->times_out> _newtimer.times_out )
|
if ( e->times_out> _newtimer.times_out )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
if(e != timers.end())
|
||||||
timers.insert(e, _newtimer);
|
timers.insert(e, _newtimer);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user