<p> Attention is currently required from: Joshua Colp, N A. </p>
<p>N A <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18250">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_calendar: Prevent assertion if event ends in past.<br><br>res_calendar will trigger an assertion currently<br>if the ending time is calculated to be in the past.<br>Unlike the reminder and start times, however, there<br>is currently no check to catch non-positive times<br>and set them to 1. As a result, if we get a negative<br>value by happenstance, this can cause a crash.<br><br>To prevent the assertion from begin triggered, we now<br>use the same logic as the reminder and start events<br>to catch this issue before it can cause a problem.<br><br>ASTERISK-29981 #close<br><br>Change-Id: Idfb3204d195f350d2575fb4bc72a54a597d6e93c<br>---<br>M res/res_calendar.c<br>1 file changed, 9 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/50/18250/3</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18250">change 18250</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/18250"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Idfb3204d195f350d2575fb4bc72a54a597d6e93c </div>
<div style="display:none"> Gerrit-Change-Number: 18250 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-CC: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Attention: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Attention: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>