<p>Kevin Harwell <strong>uploaded patch set #4</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/10148">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">rtp_engine: rtcp_report_to_json can overflow the ssrc integer value<br><br>When writing an RTCP report to json the code attempts to pack the "ssrc" and<br>"source_ssrc" unsigned integer values as a signed int value type. This of course<br>means if the ssrc's unsigned value is greater than that which can fit into a<br>signed integer value it gets converted to a negative number. Subsequently, the<br>negative value goes out in the json report.<br><br>This patch now packs the value as a json_int_t, which is the widest integer type<br>available on a given system. This should make it so the value no longer<br>overflows.<br><br>Note, this was caught by two failing tests hep/rtcp-receiver/ and<br>hep/rtcp-sender.<br><br>Change-Id: I2af275286ee5e795b79f0c3d450d9e4b28e958b0<br>---<br>M configure<br>M configure.ac<br>M include/asterisk/autoconfig.h.in<br>M include/asterisk/json.h<br>M main/rtp_engine.c<br>M third-party/jansson/configure.m4<br>6 files changed, 104 insertions(+), 6 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/48/10148/4</pre><p>To view, visit <a href="https://gerrit.asterisk.org/10148">change 10148</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/10148"/><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-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I2af275286ee5e795b79f0c3d450d9e4b28e958b0 </div>
<div style="display:none"> Gerrit-Change-Number: 10148 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>