<p>Sean Bright <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/6300">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">main/app: Only look to end of file if ':end' is specified, and not just ':'<br><br>There is a little known feature in app_controlplayback that will cause the<br>specified offset to be used relative to the end of a file if a ':end' is<br>detected within the filename.<br><br>This feature is pretty bad, but okay.<br><br>However, a bug exists in this code where a ':' detected in the filename<br>will cause the end pointer to be non-NULL, even if the full ':end' isn't<br>specified. This causes us to treat an unspecified offset (0) as being<br>"start playing from the end of the file", resulting in no file playback<br>occurring.<br><br>This patch fixes this bug by resetting the end pointer if ':end' is not<br>found in the filename.<br><br>ASTERISK-23608 #close<br><br>Change-Id: Ib4c7b1b45283e4effd622a970055c51146892f35<br>(cherry picked from commit 13efea24f7ce6ccc01d1a5a0603be2636d83a408)<br>---<br>M main/app.c<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/00/6300/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/6300">change 6300</a>. To unsubscribe, 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/6300"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ib4c7b1b45283e4effd622a970055c51146892f35 </div>
<div style="display:none"> Gerrit-Change-Number: 6300 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>