<p>Corey Farrell <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/8380">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">core: Fix handling of maximum length lines in config files.<br><br>When a line is the maximum length "\n" is found at sizeof(buf) - 2 since<br>the last character is actually the null terminator.  In addition if a<br>line was exactly 8190 plus a multiple of 8192 characters long the config<br>parser would skip the following line.<br><br>Additionally fix comment in voicemail.conf sample config.  It previously<br>stated that emailbody can only contain up to 512 characters which is<br>always wrong.  The buffer is normally 8192 characters unless LOW_MEMORY<br>is enabled then it is 512 characters.  The updated comment states that<br>the line can be up to 8190 or 510 characters since the line feed and<br>NULL terminator each use a character.<br><br>ASTERISK-26688 #close<br><br>Change-Id: I80864a0d40d2e2d8cd79d72af52a8f0a3a99c015<br>---<br>M configs/samples/voicemail.conf.sample<br>M main/config.c<br>2 files changed, 5 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/80/8380/3</pre><p>To view, visit <a href="https://gerrit.asterisk.org/8380">change 8380</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/8380"/><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-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I80864a0d40d2e2d8cd79d72af52a8f0a3a99c015 </div>
<div style="display:none"> Gerrit-Change-Number: 8380 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>