help-libtasn1
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: issue with octet string when tag is encoded to multiple bytes


From: Nikos Mavrogiannopoulos
Subject: Re: issue with octet string when tag is encoded to multiple bytes
Date: Mon, 8 Jun 2015 14:29:59 +0200

On Sun, May 31, 2015 at 9:38 PM, Tomas Petrilak
<address@hidden> wrote:
> hi,
> I played with libtasn1 and observed issue when trying decode OCTET STRING
> parameter with tag which is encoded to multiple bytes.
> for example: parameter [200] IMPLICIT OCTET STRING
> Problem seems to be in lib/decoding.c in function _asn1_get_octet_string
> which assumes that tag is always only 1 byte.
> Following change did fix it for me:

I've applied a similar patch.

Thanks for spotting that,
Nikos



reply via email to

[Prev in Thread] Current Thread [Next in Thread]