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
..
2019-06-13 14:05:12 -06:00
2019-05-10 10:19:50 -06:00
2019-08-01 16:22:01 -05:00
2017-04-12 16:46:22 -05:00
2019-05-30 09:56:03 +00:00
2019-06-11 08:16:52 -06:00
2017-12-22 09:14:07 -05:00
2019-06-07 08:26:21 -06:00
2014-07-25 10:54:49 +00:00
2017-04-12 16:46:22 -05:00
2014-07-25 16:47:17 +00:00
2017-12-22 09:14:07 -05:00
2013-05-21 18:00:22 +00:00
2017-12-22 09:14:07 -05:00
2019-06-13 14:05:12 -06:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2013-02-14 03:49:52 +00:00
2019-04-24 08:27:28 -04:00
2017-12-22 09:14:07 -05:00
2013-11-22 16:43:21 +00:00
2018-03-07 17:02:49 -05:00
2017-05-16 14:25:01 +00:00
2017-05-16 14:25:01 +00:00
2017-12-22 09:14:07 -05:00
2011-07-14 20:28:54 +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
2019-05-10 10:19:50 -06:00
2017-12-22 09:14:07 -05:00
2018-09-12 19:15:33 +02: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-07 07:59:00 -06:00
2019-03-07 18:15:05 -05:00
2017-12-22 09:14:07 -05:00
2019-04-23 17:39:40 -05:00
2017-11-06 11:46:06 -06:00
2017-12-22 09:14:07 -05:00
2018-06-15 07:24:15 -06:00
2017-12-22 09:14:07 -05:00
2017-10-10 13:06:11 -04:00
2018-01-12 04:27:49 -06:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2012-02-20 23:43:27 +00:00
2017-08-04 14:17:16 -05:00
2019-08-01 16:22:01 -05:00
2017-12-22 09:14:07 -05:00
2019-05-23 08:37:18 -06: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-06-19 14:13:07 -05:00
2018-06-04 13:19:52 -06:00
2017-12-22 09:14:07 -05:00
2018-11-21 09:56:07 -05:00
2018-05-11 09:58:19 -04:00
2017-12-22 09:14:07 -05:00
2018-09-12 19:15:33 +02:00
2018-09-12 19:15:33 +02:00
2018-09-12 19:15:33 +02: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
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2017-12-22 09:14:07 -05:00
2014-05-09 22:49:26 +00:00
2019-04-23 17:39:40 -05:00
2012-06-15 15:33:41 +00:00
2017-12-22 09:14:07 -05:00
2017-09-06 17:11:41 -04:00
2011-07-14 20:28:54 +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-05-11 09:58:19 -04:00