Unverified Commit 8168ad41 authored by Mouse's avatar Mouse Committed by GitHub

Forbid Tab in JSON OCTET STRING

Trying to fix CI
parent ab8ed188
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment