diff options
author | Stefan Sperling <ssperling@sysmocom.de> | 2018-06-25 12:17:39 +0200 |
---|---|---|
committer | Stefan Sperling <ssperling@sysmocom.de> | 2018-06-25 13:02:06 +0200 |
commit | 3df1532e97c5c774a4abefffc2d62b8cc2d468da (patch) | |
tree | 04965cd32696138abaef711b1ee8210c340390f2 /src/.gitignore | |
parent | e176a4d047f1bc55707d2d01a95481cac458c446 (diff) |
check bssgp_tlv_parse() return code in gprs_bssgp_pcu_rcvmsg()
The return code from bssgp_tlv_parse() was not checked for a parsing
error. In case of a parsing error the stored return code could have
been overwritten later in this function.
Explicitly check for a parsing error, log corresponding packets,
and return an "invalid mandatory information" error status to
the sender. To avoid loops, do not respond with an error status
to STATUS PDUs.
Change-Id: I56e10a97cda7fd2d40bc7b4b2e6202f97772e1b3
Related: OS#3178
Diffstat (limited to 'src/.gitignore')
0 files changed, 0 insertions, 0 deletions