Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93a14f15 authored by Raymond Mantchala's avatar Raymond Mantchala Committed by Linus Torvalds
Browse files

[PATCH] dvb: dst: ASN.1 length field Fix



ASN.1 length field Fix

Signed-off-by: default avatarRaymond Mantchala <raymond.mantchala@streamvision.ft>
Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Cc: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2b70a2f5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -328,7 +328,8 @@ u32 asn_1_decode(u8 *asn_1_array)
	} else {
		word_count = length_field & 0x7f;
		for (count = 0; count < word_count; count++) {
			length = (length | asn_1_array[count + 1]) << 8;
			length = length  << 8;
			length += asn_1_array[count + 1];
			dprintk(verbose, DST_CA_DEBUG, 1, " Length=[%04x]", length);
		}
	}