Files
asterisk/include/asterisk
Kevin Harwell 755febe497 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:52 -05:00
..
2015-04-11 19:43:43 -06:00
2017-12-20 12:40:01 -05:00
2017-12-20 12:40:01 -05:00
2013-08-22 18:52:41 +00:00
2017-12-20 12:40:01 -05:00
2017-12-20 12:40:01 -05:00
2017-05-30 15:10:20 -05:00
2018-03-19 18:00:20 -04:00
2012-08-30 14:23:28 +00:00
2018-03-19 18:00:20 -04:00
2015-06-10 12:17:02 -05:00
2015-07-07 21:31:49 -05:00
2018-04-20 12:50:03 +02:00
2015-05-19 21:11:21 -05:00
2017-12-20 12:40:01 -05:00
2016-07-22 10:09:08 +02:00
2018-01-30 12:50:38 -05:00
2018-03-19 18:00:20 -04:00
2018-04-17 10:30:23 -06:00
2017-12-20 12:40:01 -05:00
2018-03-22 00:33:12 -04:00
2015-05-19 21:11:21 -05:00
2011-10-11 19:06:29 +00:00
2017-05-30 15:10:20 -05:00
2015-05-19 21:11:21 -05:00
2018-06-23 08:26:19 +02:00
2018-07-23 06:47:31 -05:00