[Live-devel] Possible bug in BasicTaskScheduler0

Ross Finlayson finlayson at live555.com
Mon Oct 30 01:23:04 PDT 2023



> On Oct 30, 2023, at 12:57 AM, Jörg Dommaschk via live-devel <live-devel at us.live555.com> wrote:
> 
> I think I may have found a bug: In BasicTaskScheduler0::deleteEventTrigger in BasicTaskScheduler0.cpp in the lines 126 and 128, fTriggersAwaitingHandling[fLastUsedTriggerNum] is cleared/set to False. If I understand things correctly - and I might very well not - shouldn't this be fTriggersAwaitingHandling[i] instead?

Good heavens - you’re correct.  That bug was introduced by mistake when we changed the implementation of ‘event triggers’ back in June.

I have just installed a new version (2023.10.30) of the code that fixes this.  Thanks!


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list