diff options
author | Antonio Alecrim Jr <antonio.alecrim@gmail.com> | 2013-09-16 10:04:54 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2013-09-25 12:17:01 -0400 |
commit | eb8948a03704f3dbbfc7e83090e20e93c6c476d2 (patch) | |
tree | 67c70f71c9b7b0f0dc4c3fc93f51506f059544e8 | |
parent | e19aaa7d43bed3bf6740a2931878beef5da9d7d9 (diff) |
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>
-rw-r--r-- | scripts/asn1_compiler.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/asn1_compiler.c b/scripts/asn1_compiler.c index db0e5cd34c70..91c4117637ae 100644 --- a/scripts/asn1_compiler.c +++ b/scripts/asn1_compiler.c | |||
@@ -1353,6 +1353,8 @@ static void render_out_of_line_list(FILE *out) | |||
1353 | render_opcode(out, "ASN1_OP_END_SET_OF%s,\n", act); | 1353 | render_opcode(out, "ASN1_OP_END_SET_OF%s,\n", act); |
1354 | render_opcode(out, "_jump_target(%u),\n", entry); | 1354 | render_opcode(out, "_jump_target(%u),\n", entry); |
1355 | break; | 1355 | break; |
1356 | default: | ||
1357 | break; | ||
1356 | } | 1358 | } |
1357 | if (e->action) | 1359 | if (e->action) |
1358 | render_opcode(out, "_action(ACT_%s),\n", | 1360 | render_opcode(out, "_action(ACT_%s),\n", |