summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Alecrim Jr <antonio.alecrim@gmail.com>2013-09-16 11:04:54 -0300
committerJiri Slaby <jslaby@suse.cz>2016-05-19 11:02:51 +0200
commitca76e51ed3b56af681e0623956a6c2481cfc8900 (patch)
tree1c6ead107cb329a91f288815f19f2e083ec6a9f3
parenta1178cc54d48ba39b84bc61eccc30dc92a6b13f6 (diff)
downloadlinux-stable-ca76e51ed3b56af681e0623956a6c2481cfc8900.tar.gz
linux-stable-ca76e51ed3b56af681e0623956a6c2481cfc8900.tar.bz2
linux-stable-ca76e51ed3b56af681e0623956a6c2481cfc8900.zip
X.509: remove possible code fragility: enumeration values not handled
commit eb8948a03704f3dbbfc7e83090e20e93c6c476d2 upstream. Signed-off-by: Antonio Alecrim Jr <antonio.alecrim@gmail.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
-rw-r--r--scripts/asn1_compiler.c2
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)
render_opcode(out, "ASN1_OP_END_SET_OF%s,\n", act);
render_opcode(out, "_jump_target(%u),\n", entry);
break;
+ default:
+ break;
}
if (e->action)
render_opcode(out, "_action(ACT_%s),\n",