94xhn
|
dc52d8b1dc
|
fix(json): reject malformed hex input
Reject odd-length and non-hex strings before decoding them.
Tested: 1796 ASan/UBSan tests in amalgamated and unamalgamated builds
|
2026-07-16 08:33:06 +08:00 |
|
cpq
|
3706742614
|
Better docstrings
|
2026-06-20 13:48:09 +01:00 |
|
cpq
|
56388f282c
|
Add docstrings
|
2026-06-11 19:56:57 +01:00 |
|
cpq
|
8030f8f8b5
|
Graph fixes
|
2026-04-20 10:47:49 +01:00 |
|
Sergey Lyubka
|
f231760395
|
Add helper function mg_json_get_tok
|
2024-02-01 12:05:49 +00:00 |
|
cpq
|
293ee2162c
|
Add mg_json_next() for iterating objects/arrays
|
2023-10-07 22:40:51 +01:00 |
|
cpq
|
fe0d2272f6
|
Export mg_json_unescape()
|
2023-06-03 09:28:59 +01:00 |
|
Sergey Lyubka
|
54d6bad5e5
|
Refactor JSON and RPC API
|
2022-07-30 07:55:26 +01:00 |
|
Sergey Lyubka
|
c5751b0bd3
|
Add mg_json_get_long
|
2022-06-30 20:03:29 +01:00 |
|
Sergey Lyubka
|
898e2b1e30
|
Add mg_json_get_hex(), mg_json_get_b64()
|
2022-06-22 16:28:22 +01:00 |
|
Sergey Lyubka
|
106662b1d7
|
Add JSON API
|
2022-06-09 17:17:33 +01:00 |
|