Files
asterisk/include/asterisk
Kevin Harwell 286cf80bec rtp_engine: rtcp_report_to_json can overflow the ssrc integer value
When writing an RTCP report to json the code attempts to pack the "ssrc" and
"source_ssrc" unsigned integer values as a signed int value type. This of course
means if the ssrc's unsigned value is greater than that which can fit into a
signed integer value it gets converted to a negative number. Subsequently, the
negative value goes out in the json report.

This patch now packs the value as a json_int_t, which is the widest integer type
available on a given system. This should make it so the value no longer
overflows.

Note, this was caught by two failing tests hep/rtcp-receiver/ and
hep/rtcp-sender.

Change-Id: I2af275286ee5e795b79f0c3d450d9e4b28e958b0
2018-09-21 17:06:59 -05:00
..
2018-03-28 09:18:06 -04:00
2015-04-12 13:48:10 -05:00
2017-12-20 12:54:13 -05:00
2017-12-20 12:54:13 -05:00
2013-08-22 18:52:41 +00:00
2017-06-13 22:05:28 +00:00
2017-12-20 12:54:13 -05:00
2017-12-20 12:54:13 -05:00
2017-10-09 13:25:13 -05:00
2017-05-30 15:08:05 -05:00
2012-08-30 14:23:28 +00:00
2018-04-20 12:54:57 +02:00
2016-08-24 11:02:47 -05:00
2016-08-24 11:02:47 -05:00
2017-12-20 12:54:13 -05:00
2018-04-17 10:16:41 -06:00
2016-04-08 12:50:58 -06:00
2017-12-20 12:54:13 -05:00
2018-03-28 09:18:06 -04:00
2014-01-06 17:45:25 +00:00
2012-02-24 15:10:35 +00:00
2015-01-26 14:49:32 +00:00
2011-10-11 19:06:29 +00:00
2017-05-30 15:08:05 -05:00
2013-05-08 13:39:08 +00:00
2018-06-23 00:27:06 -06:00
2018-07-20 05:20:25 -06:00