projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASN.1: Fix an indefinite length skip error
[firefly-linux-kernel-4.4.55.git]
/
lib
/
asn1_decoder.c
diff --git
a/lib/asn1_decoder.c
b/lib/asn1_decoder.c
index de2c8b5a715bd9c1f75129bc40293ac68f1f92e9..5293d2433029d391c3b95c18320d45c77d117c67 100644
(file)
--- a/
lib/asn1_decoder.c
+++ b/
lib/asn1_decoder.c
@@
-91,7
+91,7
@@
next_tag:
/* Extract the length */
len = data[dp++];
- if (len < 0x7f) {
+ if (len <
=
0x7f) {
dp += len;
goto next_tag;
}