From: Howard Chu Date: Thu, 24 Apr 2003 01:37:01 +0000 (+0000) Subject: ITS#2458 fix array decoding X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~261 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d14ff18d7f2132317df4de6ae45fabb8d2276134;p=openldap ITS#2458 fix array decoding --- diff --git a/libraries/liblber/decode.c b/libraries/liblber/decode.c index a6c5927698..a502380e9d 100644 --- a/libraries/liblber/decode.c +++ b/libraries/liblber/decode.c @@ -324,6 +324,7 @@ ber_get_stringbvl( bgbvr *b, ber_len_t *rlen ) { if (ber_skip_tag( b->ber, &len ) == LBER_DEFAULT) break; b->ber->ber_ptr += len; + b->ber->ber_tag = *(unsigned char *)b->ber->ber_ptr; } }