osmocom-bb/src/host
Vadim Yanitskiy d02927b036 layer23/l1ctl.c: fix: verify msg length using l1h, not l2h
The actual L1CTL header is pointed by 'msg->l1h', not 'l2h'!
Since msg->l2h is NULL (because nobody set it), the result of
msgb_l2len() would always be bigger than size of L1CTL header,
as it is calculated in the following way:

  return msgb->tail - (uint8_t *)msgb_l2(msgb);

So, in case if 'msg->l2h' is NULL, it turns into:

  return msgb->tail - 0;

Change-Id: I7fe2e00bb45ba07c9bb7438445eededfa09c96f3
2018-10-03 19:21:58 +07:00
..
calypso_pll Initial import of OsmocomBB into git repository 2010-02-18 16:46:36 +01:00
fb_tools Drop unused imports from the python utilities. 2012-10-01 03:21:53 +02:00
gprsdecode Import gprsdecode utility from SRLabs 2018-02-06 14:05:17 +07:00
gsmmap gsmmap: Dump SYSTEM INFORMATION messages while processing 2011-07-31 10:48:46 +02:00
layer23 layer23/l1ctl.c: fix: verify msg length using l1h, not l2h 2018-10-03 19:21:58 +07:00
osmocon osmoload: Use osmo_sock_unix_init_ofd() from libosmocore 2018-09-06 16:14:47 +02:00
rita_pll add perl scripts to compute MTK RF Transceiver PLL settings 2010-12-11 05:23:58 +01:00
trxcon trxcon/scheduler: add dedicated CBCH mode support 2018-10-03 08:37:11 +00:00
virt_phy Install to /bin as it doesn't require special privileges.. 2018-09-16 06:44:04 +00:00