diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-06 08:29:08 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-06 08:29:08 -0800 |
commit | 54d1ae492f724f103a07f69c8e429a35d43b5c52 (patch) | |
tree | c4cdcbc2d5223f7efea732cbf041da0ec2220912 /lib/asn1_decoder.c | |
parent | cfd1f032f98e5ab3a04f23a0adbd53ff8744827d (diff) | |
parent | f3537f91f9be2ce5fcbaa1aa6d787ad0436daec6 (diff) |
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux
Pull module signing fixes from Rusty Russell:
"David gave me these a month ago, during my git workflow churn :("
* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
ASN.1: Fix an indefinite length skip error
MODSIGN: Don't use enum-type bitfields in module signature info block
Diffstat (limited to 'lib/asn1_decoder.c')
-rw-r--r-- | lib/asn1_decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1_decoder.c b/lib/asn1_decoder.c index de2c8b5a715..5293d243302 100644 --- 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; } |