diff options
author | Max <msuraev@sysmocom.de> | 2017-03-01 18:16:44 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-03-02 14:10:06 +0000 |
commit | 777be2e734b95ab9982a20c22f134d004a78c961 (patch) | |
tree | cdb31333c0ea42dba605881a17bb4f17d46cf7d2 /src/ctrl | |
parent | 90fdb08e3ea65b6df53160b6b34cf5e9fde17a40 (diff) |
Check for proper lapdm_datalink entity
Previously lapdm_datalink->entity->mode was dereferenced without
checking if correct entity is present. This might lead to
segfault. Check it explicitly before dereferencing, log error and
gracefully return if necessary.
Change-Id: I0361e3731e86712b415a370cab1128d611988f56
Related: OS#1898
Diffstat (limited to 'src/ctrl')
0 files changed, 0 insertions, 0 deletions