This commit is contained in:
Harald Welte 2014-12-30 00:43:32 +01:00
parent 783d073a37
commit 63b156a9e0
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,8 @@
#include <stdlib.h>
#include <string.h>
#include <arpa/inet.h>
#include <osmocom/core/talloc.h>
#include <osmocom/gsm/protocol/gsm_03_41.h>
@ -34,6 +36,8 @@ gsm0341_build_msg(void *ctx, uint8_t geo_scope, uint8_t msg_code,
{
struct gsm341_ms_message *cbmsg;
msg_id = htons(msg_id);
if (len > 88)
return NULL;