diff uptools/sms-pdu-decode/pdu-common.c @ 802:1c599681fd60

pcm-sms-decode & sms-pdu-decode: revamp bad char decoding
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 25 Mar 2021 02:58:30 +0000
parents 8dc93aac9a9c
children 30fbaa652ea5
line wrap: on
line diff
--- a/uptools/sms-pdu-decode/pdu-common.c	Thu Mar 25 01:40:36 2021 +0000
+++ b/uptools/sms-pdu-decode/pdu-common.c	Thu Mar 25 02:58:30 2021 +0000
@@ -250,7 +250,7 @@
 {
 	unsigned udl, udl_octets;
 	unsigned udhl, udh_octets, udh_chars, ud_chars;
-	u_char ud7[160], decode_buf[321];
+	u_char ud7[160], decode_buf[481];
 	int do_hexdump;
 	unsigned decoded_len, badchars;