commit | daa653fc2268ca99389ef2730abf5fe000eb7a37 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Oct 11 07:56:06 2010 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Oct 11 09:25:14 2010 +0200 |
tree | c50a66012f9f882c0e41fd34567b54cfacb73741 | |
parent | 00cb5700e65ef8bf4e86bdb0b45084265d73e5d9 [diff] [blame] |
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.
diff --git a/tests/Makefile.am b/tests/Makefile.am index 14c8ca8..0166b4f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am
@@ -1,5 +1,5 @@ if ENABLE_TESTS -SUBDIRS = timer sms +SUBDIRS = timer sms ussd if ENABLE_MSGFILE SUBDIRS += msgfile endif