Skip to content

Commit eb8948a

Browse files
antonioalecrimdhowells
authored andcommitted
X.509: remove possible code fragility: enumeration values not handled
Signed-off-by: Antonio Alecrim Jr <antonio.alecrim@gmail.com> Signed-off-by: David Howells <dhowells@redhat.com>
1 parent e19aaa7 commit eb8948a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎scripts/asn1_compiler.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,8 @@ static void render_out_of_line_list(FILE *out)
13531353
render_opcode(out, "ASN1_OP_END_SET_OF%s,\n", act);
13541354
render_opcode(out, "_jump_target(%u),\n", entry);
13551355
break;
1356+
default:
1357+
break;
13561358
}
13571359
if (e->action)
13581360
render_opcode(out, "_action(ACT_%s),\n",

0 commit comments

Comments
 (0)