hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/lib/asn1_decoder.c
....@@ -1,12 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* Decoder for ASN.1 BER/DER/CER encoded bytestream
23 *
34 * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5
- *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public Licence
8
- * as published by the Free Software Foundation; either version
9
- * 2 of the Licence, or (at your option) any later version.
106 */
117
128 #include <linux/export.h>
....@@ -385,6 +381,8 @@
385381 case ASN1_OP_END_SET_ACT:
386382 if (unlikely(!(flags & FLAG_MATCHED)))
387383 goto tag_mismatch;
384
+ /* fall through */
385
+
388386 case ASN1_OP_END_SEQ:
389387 case ASN1_OP_END_SET_OF:
390388 case ASN1_OP_END_SEQ_OF:
....@@ -450,6 +448,8 @@
450448 pc += asn1_op_lengths[op];
451449 goto next_op;
452450 }
451
+ /* fall through */
452
+
453453 case ASN1_OP_ACT:
454454 ret = actions[machine[pc + 1]](context, hdr, tag, data + tdp, len);
455455 if (ret < 0)