commit | a6a68e62d9b8efba17b40a8871211cdabdbda851 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Fri Nov 25 13:21:02 2016 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Sun Nov 27 18:27:33 2016 +0000 |
tree | 46e44ad6a480fd31f11c58ef173f8915acd5df88 | |
parent | fe87809c92b6059b6b25c110b200a5d60c842f7b [diff] [blame] |
fix error rc in various ASN.1 decoding functions Fixes: CID#57945, CID#57946, CID#57947, CID#57948, CID#57950, CID#57951 Change-Id: I2d9ee1aa79959c5973041393f4769faa13720898
diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c index 59150c9..0473482 100644 --- a/src/hnbgw_hnbap.c +++ b/src/hnbgw_hnbap.c
@@ -568,7 +568,7 @@ msg->data, msgb_length(msg), 0, 0); if (dec_ret.code != RC_OK) { LOGP(DHNBAP, LOGL_ERROR, "Error in ASN.1 decode\n"); - return rc; + return -1; } rc = _hnbgw_hnbap_rx(hnb, pdu);