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

Origin commit data
------------------
Branch: ni/coolstream
Commit: a8d0b49aed
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-10-13 (Sun, 13 Oct 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2019-10-13 22:24:13 +02:00
committed by vanhofen
parent bf91f10b5a
commit d0765efa4f

View File

@@ -529,6 +529,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