[Asterisk-code-review] res_calendar: Prevent assertion if event ends in past. (asterisk[master])
Joshua Colp
asteriskteam at digium.com
Wed Apr 6 05:10:40 CDT 2022
Attention is currently required from: N A.
Joshua Colp has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/18250 )
Change subject: res_calendar: Prevent assertion if event ends in past.
......................................................................
Patch Set 2:
(1 comment)
File res/res_calendar.c:
https://gerrit.asterisk.org/c/asterisk/+/18250/comment/c43b3800_b644d382
PS2, Line 1002: if (devstate_sched_end <= 0) { /* if we let this slip by, Asterisk will assert */
> To answer your question, I'm not sure personally and wouldn't be qualified to say one way or another […]
I doubt anyone else is going to chime in. This code is old and noone has knowledge of it. The question is: Does it make sense to have the item be scheduled at all if it has already ended? That is the question I don't know the answer to. Maybe it does.
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/18250
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Idfb3204d195f350d2575fb4bc72a54a597d6e93c
Gerrit-Change-Number: 18250
Gerrit-PatchSet: 2
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-CC: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: N A <mail at interlinked.x10host.com>
Gerrit-Comment-Date: Wed, 06 Apr 2022 10:10:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: N A <mail at interlinked.x10host.com>
Comment-In-Reply-To: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220406/dd5541cd/attachment-0001.html>
More information about the asterisk-code-review
mailing list