commit | c9ac20ea43e0107c293b5d3f5c90076963e95059 | [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 | a6e81a09861645dc9e8a6aa44a6a1d43bd70dcb7 [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);