Kevin Harwell
f145b58542
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-01 16:22:01 -05:00
..
2018-09-12 19:15:33 +02:00
2018-02-22 11:48:00 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2014-03-27 19:21:44 +00:00
2017-12-18 19:35:26 -06:00
2017-12-06 15:59:53 -06:00
2018-03-20 13:28:01 -06:00
2017-12-22 09:14:07 -05:00
2018-06-19 11:49:24 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2018-11-21 09:56:07 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2018-06-21 04:17:03 -06:00
2017-12-22 09:14:07 -05:00
2018-04-17 10:16:41 -06:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2015-01-23 15:03:05 +00:00
2017-04-12 16:46:22 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2018-11-21 09:56:07 -05:00
2017-12-22 09:14:07 -05:00
2015-04-07 02:09:59 +00:00
2017-12-22 09:14:07 -05:00
2011-07-14 20:28:54 +00:00
2019-02-07 14:11:13 +00:00
2018-10-04 14:40:53 -05:00
2014-04-23 15:02:39 +00:00
2017-12-22 09:14:07 -05:00
2015-06-15 17:40:54 -04:00
2018-04-27 17:26:54 -05:00
2013-12-11 12:31:57 +00:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2018-06-19 11:49:24 -05:00
2017-12-22 09:14:07 -05:00
2017-08-30 18:41:25 +00:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2018-11-19 13:34:46 -06:00
2017-12-22 09:14:07 -05:00
2019-08-01 16:22:01 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2018-05-11 09:58:19 -04:00