neels uploaded patch set #2 to this change.
hnbgw_rx_hnb_register_req(): guard against asn.1 parsing errors
I considered putting these checks into
hnbap_decode_hnbregisterrequesties() itself, but that code is generated
by asn1tostruct.py, so it is non-trivial.
So I decided to add this code bit, to guard against potential NULL deref
induced by input from the wire, which coverity complains about.
Related: CID#465551
Change-Id: I555f11cadc23ea231821bd48f7cd62953b022e9e
---
M src/osmo-hnbgw/hnbgw_hnbap.c
1 file changed, 17 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/62/39362/2
To view, visit change 39362. To unsubscribe, or for help writing mail filters, visit settings.