Files
asterisk/main
Bastian Triller 7a4884c1cb func_json: Fix crashes for some types
This commit fixes crashes in JSON_DECODE() for types null, true, false
and real numbers.

In addition it ensures that a path is not deeper than 32 levels.

Also allow root object to be an array.

Add unit tests for above cases.

(cherry picked from commit 6edeb90485)
2024-01-12 18:21:32 +00:00
..
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2020-05-05 10:06:43 -05:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2020-04-06 10:23:20 -05:00
2021-12-02 15:02:42 -06:00
2023-01-30 16:17:20 -05:00
2021-12-02 15:02:42 -06:00
2022-07-12 07:45:19 -05:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00
2024-01-12 18:21:32 +00:00
2023-05-08 17:55:16 +00:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2022-07-07 08:22:43 -05:00
2022-09-26 14:12:25 -05:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2020-06-10 09:33:28 -05:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:42 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2016-10-27 09:53:55 -04:00
2023-07-10 11:49:30 +00:00
2021-12-02 15:02:42 -06:00
2017-12-20 12:40:01 -05:00
2024-01-12 18:21:32 +00:00
2023-07-10 11:49:31 +00:00
2023-05-08 17:55:17 +00:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:42 -06:00
2023-09-06 16:46:46 +00:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-11-18 13:25:54 -06:00
2021-11-18 13:25:54 -06:00
2022-05-09 08:21:58 -05:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2022-03-24 12:01:32 -05:00
2021-12-02 15:02:42 -06:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00