ussd: Add a test case, switch parsing to use a gsm48_hdr and len
authorHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 11 Oct 2010 05:56:06 +0000 (07:56 +0200)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 11 Oct 2010 07:25:14 +0000 (09:25 +0200)
commitdaa653fc2268ca99389ef2730abf5fe000eb7a37
treec50a66012f9f882c0e41fd34567b54cfacb73741
parent00cb5700e65ef8bf4e86bdb0b45084265d73e5d9
ussd: Add a test case, switch parsing to use a gsm48_hdr and len

The current USSD code is not doing any size checks, add a test
case to find out how easily we access the data out of bounds.
Begin to use the length in some places.
configure.in
include/osmocore/gsm0480.h
src/gsm0480.c
tests/Makefile.am
tests/ussd/Makefile.am [new file with mode: 0644]
tests/ussd/ussd_test.c [new file with mode: 0644]