<p>Robert Sutton has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14205">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">core: Fix NPE in ast_manager_build_channel_state_string when<br>snapshot is NULL<br><br>change ast_log to ast_debug<br><br>ASTERISK-28810<br><br>Change-Id: I09ffbf8c2106541bf76f60255899235de3a1d545<br>---<br>M main/manager_channels.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/05/14205/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/manager_channels.c b/main/manager_channels.c</span><br><span>index a50c4f4..48d2631 100644</span><br><span>--- a/main/manager_channels.c</span><br><span>+++ b/main/manager_channels.c</span><br><span>@@ -495,7 +495,7 @@</span><br><span> </span><br><span> if (!snapshot)</span><br><span> {</span><br><span style="color: hsl(0, 100%, 40%);">- ast_log(AST_LOG_WARNING, "Call to ast_manager_build_channel_state_string_prefix with NULL snapshot!\n");</span><br><span style="color: hsl(120, 100%, 40%);">+ ast_debug(1, "Call to ast_manager_build_channel_state_string_prefix with NULL snapshot!\n");</span><br><span> return NULL;</span><br><span> }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14205">change 14205</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/+/14205"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I09ffbf8c2106541bf76f60255899235de3a1d545 </div>
<div style="display:none"> Gerrit-Change-Number: 14205 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Robert Sutton <rsutton@noojee.com.au> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>