<p>Sean Bright has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13737">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">func_odbc: Prevent snprintf() truncation warning<br><br>For reasons that are not clear to me - this only appears for me when<br>_not_ building in dev-mode.<br><br>Change-Id: Ib45c54daaea8e0d571cb470cab1daaae2edba968<br>---<br>M funcs/func_odbc.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/37/13737/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c</span><br><span>index 2bd1d9d..b4a859e 100644</span><br><span>--- a/funcs/func_odbc.c</span><br><span>+++ b/funcs/func_odbc.c</span><br><span>@@ -1408,7 +1408,7 @@</span><br><span> AST_APP_ARG(field)[100];</span><br><span> );</span><br><span> struct ast_str *sql;</span><br><span style="color: hsl(0, 100%, 40%);">- char *char_args, varname[10];</span><br><span style="color: hsl(120, 100%, 40%);">+ char *char_args, varname[15];</span><br><span> struct acf_odbc_query *query;</span><br><span> struct ast_channel *chan;</span><br><span> int i;</span><br><span>@@ -1624,7 +1624,7 @@</span><br><span> AST_APP_ARG(field)[100];</span><br><span> );</span><br><span> struct ast_str *sql;</span><br><span style="color: hsl(0, 100%, 40%);">- char *char_args, *char_values, varname[10];</span><br><span style="color: hsl(120, 100%, 40%);">+ char *char_args, *char_values, varname[15];</span><br><span> struct acf_odbc_query *query;</span><br><span> struct ast_channel *chan;</span><br><span> int i;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13737">change 13737</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/+/13737"/><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-Change-Id: Ib45c54daaea8e0d571cb470cab1daaae2edba968 </div>
<div style="display:none"> Gerrit-Change-Number: 13737 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>