Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1200726 > unrolled thread

[GIT PULL] ASN.1 fixes

Started byDavid Howells <dhowells@redhat.com>
First post2015-08-05 15:30 +0200
Last post2015-08-07 09:50 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [GIT PULL] ASN.1 fixes David Howells <dhowells@redhat.com> - 2015-08-05 15:30 +0200
    Re: [GIT PULL] ASN.1 fixes James Morris <jmorris@namei.org> - 2015-08-07 05:10 +0200
      Re: [GIT PULL] ASN.1 fixes David Howells <dhowells@redhat.com> - 2015-08-07 09:50 +0200

#1200726 — [GIT PULL] ASN.1 fixes

FromDavid Howells <dhowells@redhat.com>
Date2015-08-05 15:30 +0200
Subject[GIT PULL] ASN.1 fixes
Message-ID<pU6VA-2zD-9@gated-at.bofh.it>
Hi James,

Can you pull these fixes for the ASN.1 compiler and decoder into the
security/next tree and also pass them onto Linus for immediate inclusion?

I've checked that the bugs fixed can't be used to compromise a system, so I
think they're survivable, but all the same, it's best if they're fixed
immediately (if I'm wrong, there's the possibility of handing memcpy() a
NULL pointer).

Here can be found a pair of programs to take BER/DER-encoded X.509 and
PKCS#7 and turn it into text which can be edited and turn the edited text
back into BER.  This allows the ASN.1 to be butchered in interesting ways.

	http://people.redhat.com/dhowells/asn1encode.c
	http://people.redhat.com/dhowells/asn1decode.c

David
---

The following changes since commit 52721d9d3334c1cb1f76219a161084094ec634dc:

  Linux 4.2-rc3 (2015-07-19 14:45:02 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/asn1-fixes-20150805

for you to fetch changes up to 233ce79db4b23a174bcf30bde5d6ad913d5f46d3:

  ASN.1: Handle 'ANY OPTIONAL' in grammar (2015-08-05 13:38:07 +0100)

----------------------------------------------------------------
ASN.1 fixes

----------------------------------------------------------------
David Howells (4):
      ASN.1: Fix handling of CHOICE in ASN.1 compiler
      ASN.1: Fix actions on CHOICE elements with IMPLICIT tags
      ASN.1: Fix non-match detection failure on data overrun
      ASN.1: Handle 'ANY OPTIONAL' in grammar

 include/linux/asn1_ber_bytecode.h | 16 +++++++++++-----
 lib/asn1_decoder.c                | 27 +++++++++++++++++++++++----
 scripts/asn1_compiler.c           | 23 ++++++++++++++---------
 3 files changed, 48 insertions(+), 18 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1202259

FromJames Morris <jmorris@namei.org>
Date2015-08-07 05:10 +0200
Message-ID<pUGcG-3xm-9@gated-at.bofh.it>
In reply to#1200726
On Wed, 5 Aug 2015, David Howells wrote:

> Hi James,
> 
> Can you pull these fixes for the ASN.1 compiler and decoder into the
> security/next tree and also pass them onto Linus for immediate inclusion?
> 

Pulled to my -next branch, but it's too late really for 4.2, for this 
class of bugfix.


-- 
James Morris
<jmorris@namei.org>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1202389

FromDavid Howells <dhowells@redhat.com>
Date2015-08-07 09:50 +0200
Message-ID<pUKzE-1p3-9@gated-at.bofh.it>
In reply to#1202259
James Morris <jmorris@namei.org> wrote:

> Pulled to my -next branch, but it's too late really for 4.2, for this 
> class of bugfix.

Thanks.  That'll do.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web