aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/osmo_bsc_vty.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-03-06 17:18:25 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-03-06 17:18:25 +0700
commit56dec0c75358fe42954f9e7949ebd0c163377b10 (patch)
treedd3c72ef2543b43a266e7bee3a8c3c497d2b0136 /src/osmo-bsc/osmo_bsc_vty.c
parentf7a6329bbd5dd621eccc10a05141b58f3b72ec06 (diff)
libbsc/bsc_vty.c: prevent uninitialized access
If an out of range 'Last Valid Block' value for 'smscb-command' is passed, a 'last_block' of the 'rsl_ie_cb_cmd_type' struct could be uninitialized. Let's prevent this. Found using Clang Static Analyzer. Change-Id: I57635f2f482ff476ab697b1b9e872ce90aafb999
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_vty.c')
0 files changed, 0 insertions, 0 deletions