Skip to content

Commit

Permalink
Forbid Tab in JSON OCTET STRING
Browse files Browse the repository at this point in the history
Trying to fix CI
  • Loading branch information
mouse07410 authored Aug 8, 2024
1 parent ab8ed18 commit 8168ad4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions skeletons/OCTET_STRING_jer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8168ad4

Please sign in to comment.