commit | c871c8535b8de6e605434737f0ba076f851798ca | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Thu Apr 14 15:21:33 2016 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Sat Apr 16 13:33:22 2016 +0200 |
tree | d8ad7ba4875a59383083f4e2e825c7afe35a299d | |
parent | 689be93f8af87acc1126c6693e6d0430e123bcee [diff] |
gbproxy_test: assert msg allocation (CID #57873)
diff --git a/openbsc/tests/gbproxy/gbproxy_test.c b/openbsc/tests/gbproxy/gbproxy_test.c index 0ba827f..96a68b0 100644 --- a/openbsc/tests/gbproxy/gbproxy_test.c +++ b/openbsc/tests/gbproxy/gbproxy_test.c
@@ -1293,6 +1293,7 @@ } msg = gprs_ns_msgb_alloc(); + OSMO_ASSERT(msg); memmove(msg->data, data, data_len); msg->l2h = msg->data; msgb_put(msg, data_len);