From cbe773330fddfaab8e20ee53d47788487516b0ad Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 16 Sep 2009 05:07:36 -0500 Subject: [PATCH] Make sure unit tests also use right pdu buffer len --- unit/test-sms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unit/test-sms.c b/unit/test-sms.c index 67c51f8..ac4f1ff 100644 --- a/unit/test-sms.c +++ b/unit/test-sms.c @@ -620,7 +620,7 @@ static int assembly_pdu_len3 = 89; static void test_assembly() { - unsigned char pdu[164]; + unsigned char pdu[176]; long pdu_len; struct sms sms; struct sms_assembly *assembly = sms_assembly_new(NULL); @@ -1009,7 +1009,7 @@ static void test_cbs_assembly() static void test_serialize_assembly() { - unsigned char pdu[164]; + unsigned char pdu[176]; long pdu_len; struct sms sms; struct sms_assembly *assembly = sms_assembly_new("1234"); -- 2.7.4