From 11e20ef7a8ffa66ba45394fb6c5ca25898481782 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sun, 24 Mar 2024 20:23:47 +0200 Subject: [PATCH] spa: json: \x7f is allowed unquoted in JSON --- spa/include/spa/utils/json.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/include/spa/utils/json.h b/spa/include/spa/utils/json.h index 6fa8c7806..40d2f6aba 100644 --- a/spa/include/spa/utils/json.h +++ b/spa/include/spa/utils/json.h @@ -176,7 +176,7 @@ static inline int spa_json_next(struct spa_json * iter, const char **value) iter->state = __UTF8 | flag; continue; default: - if (cur >= 32 && cur <= 126) + if (cur >= 32 && cur <= 127) continue; } goto error;