tests: Fix the sms_test and use the right array

It started to behave weird on Debian Testing (GCC 4.8), I compiled it
with address sanitizer support and set a breakpoint in
__asan_report_error to get a backtrace.
This commit is contained in:
Holger Hans Peter Freyther 2013-10-08 13:57:51 +02:00
parent 5b6416a729
commit bb9f89745a
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ int main(int argc, char** argv)
memset(result, 0xaa, sizeof(result));
for (buffer_size = 1;
buffer_size < test_encode[i].expected_septet_length + 1
buffer_size < test_decode[i].expected_septet_length + 1
&& buffer_size < sizeof(result) - 1;
++buffer_size)
{