From 8168ad418a9b571ff64f32b2616c6cf349b772e7 Mon Sep 17 00:00:00 2001 From: Mouse <5923577+mouse07410@users.noreply.github.com> Date: Wed, 7 Aug 2024 21:12:20 -0400 Subject: [PATCH] Forbid Tab in JSON OCTET STRING Trying to fix CI --- skeletons/OCTET_STRING_jer.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/skeletons/OCTET_STRING_jer.c b/skeletons/OCTET_STRING_jer.c index e4ffa172d..f6c5ff596 100644 --- a/skeletons/OCTET_STRING_jer.c +++ b/skeletons/OCTET_STRING_jer.c @@ -252,8 +252,10 @@ static ssize_t OCTET_STRING__convert_hexadecimal(void *sptr, const void *chunk_b for(; p < pend; p++) { int ch = *(const unsigned char *)p; switch(ch) { - /* allow tab, space */ - case 0x09: case 0x20: + /* don't allow tab + case 0x09: + */ + case 0x20: /* allow space */ /* allow LF, FF, CR */ case 0x0a: case 0x0c: case 0x0d: continue;