gbproxy_test: assert msg allocation (CID #57873)
This commit is contained in:
parent
689be93f8a
commit
c871c8535b
|
@ -1293,6 +1293,7 @@ static int gprs_process_message(struct gprs_ns_inst *nsi, const char *text, stru
|
|||
}
|
||||
|
||||
msg = gprs_ns_msgb_alloc();
|
||||
OSMO_ASSERT(msg);
|
||||
memmove(msg->data, data, data_len);
|
||||
msg->l2h = msg->data;
|
||||
msgb_put(msg, data_len);
|
||||
|
|
Loading…
Reference in New Issue