diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2020-02-26 12:00:23 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-03-04 20:49:13 +0000 |
commit | fde9fdc1d3602b78d2e1ef8e1f9b7cda483976c3 (patch) | |
tree | bf17758327a6507c792b1243b8fa3a8dd74e4eec /include | |
parent | 07cdd76ffdd45f9db685ce48ffadbbca820fc2d5 (diff) |
osmo-sim-test: check tlv_parsed struct tp before access
The variable struct tlv_parsed tp in dump_file() conditionally
initalized by tlv_parse() but later it is accessed under a different
condition without a check that makes sure that tp is only accessed when
tlv_parse() was called beforehand. Lets introduce a check that makes
sure tp can not be accessed when it is uninitalized.
Change-Id: I6b0209b966127a4195e6f4bcb43d49387c7646ce
Fixes: CID#208435
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions