Hi Holger,
in case you merge, please fix the length computation below:
On 21.02.2014 15:09, Jacob Erlbeck wrote:
--- a/src/common/bts.c +++ b/src/common/bts.c +int bts_ccch_copy_msg(struct gsm_bts *bts, uint8_t *out_buf, struct gsm_time *gt,
int is_ag_res)+{
- memcpy(out_buf, msgb_l3(msg), msgb_l3len(msg));
- rc = msg->len;
It's
rc = msgb_l3len(msg);
which accidentally delivers the same value.
Thanks,
Jacob