kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 8008fe8b6046cf01612a656327e89a53ee46f3ae
parent 8c32f8f63bcc8e3ef58e5ffd4a6908661446eb5e
Author: Joris Vink <joris@coders.se>
Date:   Thu, 19 Nov 2020 09:10:12 +0100

Don't allow unknown escaped characters in JSON parser.

Diffstat:
src/json.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/json.c b/src/json.c @@ -826,6 +826,7 @@ json_get_string(struct kore_json *json) ch = '\r'; break; case 'u': + default: /* XXX - not supported. */ goto cleanup; }