Bastian Triller
903c594cef
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 1cbbf36929
)
2024-01-12 18:32:12 +00:00
..
2020-03-31 12:07:23 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2023-01-10 14:07:44 -06:00
2023-06-05 12:27:52 -06:00
2022-06-09 03:47:41 -05:00
2022-04-26 17:40:39 -05:00
2017-12-22 09:23:22 -05:00
2022-02-25 13:04:14 -06:00
2023-08-04 10:57:13 +00:00
2022-04-27 11:41:52 -05:00
2021-12-01 12:27:30 -06:00
2022-06-09 03:47:41 -05:00
2017-12-22 09:23:22 -05:00
2023-01-03 09:00:42 -06:00
2022-06-09 03:47:41 -05:00
2022-04-27 03:15:35 -05:00
2023-07-18 14:55:39 +00:00
2017-12-22 09:23:22 -05:00
2022-06-09 03:47:41 -05:00
2023-01-05 06:11:03 -06:00
2024-01-12 18:32:12 +00:00
2017-12-22 09:23:22 -05:00
2016-10-27 09:53:55 -04:00
2017-04-12 15:57:21 -06:00
2017-12-22 09:23:22 -05:00
2019-09-18 20:22:50 +00:00
2024-01-12 18:32:12 +00:00
2021-06-11 13:26:50 -05:00
2024-01-12 18:32:12 +00:00
2022-06-09 03:47:41 -05:00
2017-12-22 09:23:22 -05:00
2016-10-27 09:53:55 -04:00
2022-06-09 03:47:41 -05:00
2024-01-12 18:32:12 +00:00
2014-04-23 15:02:39 +00:00
2022-06-09 03:47:41 -05:00
2021-03-16 10:30:43 -05:00
2021-03-16 10:30:43 -05:00
2021-03-16 10:30:43 -05:00
2022-12-08 10:20:07 -06:00
2022-06-09 03:47:41 -05:00
2018-06-19 10:56:33 -06:00
2022-10-26 09:52:38 -05:00
2022-09-22 10:23:21 -05:00
2022-06-09 03:47:41 -05:00
2022-06-09 03:47:41 -05:00
2017-12-22 09:23:22 -05:00
2022-06-09 03:47:41 -05:00
2021-11-15 19:28:27 -06:00
2022-08-01 07:09:20 -05:00
2022-09-22 09:34:42 -05:00
2017-12-22 09:23:22 -05:00
2022-06-09 03:47:41 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2022-06-09 03:47:41 -05:00
2022-06-09 03:47:41 -05:00
2022-06-09 03:47:41 -05:00
2018-05-11 09:48:58 -04:00