[Asterisk-code-review] scheduler: Detect and prevent overflow of scheduler IDs. (asterisk[certified/11.6])

Mark Michelson asteriskteam at digium.com
Tue Sep 8 14:23:53 CDT 2015


Mark Michelson has posted comments on this change.

Change subject: scheduler: Detect and prevent overflow of scheduler IDs.
......................................................................


Patch Set 1:

Ah, I hadn't realized that items that were rescheduled would keep their old ID. If that's the case, then yes once the counter starts to loop, there is a chance of getting a repeated ID assigned to an item. I had been under the impression that rescheduled items would get updated IDs, and so the chance of hitting repeats was just so incredibly low that it would never actually occur.

I'll give this some thought and think about the appropriate way to fix this.

-- 
To view, visit https://gerrit.asterisk.org/1217
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia79fe17ee576edaca5c9cf0f45aaf4d6fdd0e7bb
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: certified/11.6
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-HasComments: No



More information about the asterisk-code-review mailing list