Files
asterisk/apps
Kevin Harwell 66b607db88 various modules: json integer overflow
There were still a few places in the code that could overflow when "packing"
a json object with a value outside the base type integer's range. For instance:

unsigned int value = INT_MAX + 1
ast_json_pack("{s: i}", value);

would result in a negative number being "packed". In those situations this patch
alters those values to a ast_json_int_t, which widens the value up to a long or
long long.

ASTERISK-28480

Change-Id: Ied530780d83e6f1772adba0e28d8938ef30c49a1
2019-08-06 07:44:18 -06:00
..
2019-05-10 10:22:55 -06:00
2016-10-27 09:53:55 -04:00
2018-03-08 13:53:09 -06:00
2019-05-10 10:22:55 -06:00
2016-10-27 09:53:55 -04:00
2018-05-11 09:48:58 -04:00
2018-05-11 09:48:58 -04:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00