Change in osmo-hlr[master]: gsup_server.c: properly handle negative rc from osmo_gsup_conn_ccm_get()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue May 5 19:37:52 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-hlr/+/18039 )

Change subject: gsup_server.c: properly handle negative rc from osmo_gsup_conn_ccm_get()
......................................................................

gsup_server.c: properly handle negative rc from osmo_gsup_conn_ccm_get()

Related: coverity CID#210171
Change-Id: I5b56fe33cbc75679a3fffc034a53f06cd0e4043b
---
M src/gsup_server.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved
  fixeria: Looks good to me, approved



diff --git a/src/gsup_server.c b/src/gsup_server.c
index a5d496e..888507c 100644
--- a/src/gsup_server.c
+++ b/src/gsup_server.c
@@ -274,7 +274,7 @@
 {
 	struct osmo_gsup_conn *clnt = (struct osmo_gsup_conn *)conn->data;
 	uint8_t *addr = NULL;
-	size_t addr_len;
+	int addr_len;
 
 	LOGP(DLGSUP, LOGL_INFO, "CCM Callback\n");
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-hlr/+/18039
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: I5b56fe33cbc75679a3fffc034a53f06cd0e4043b
Gerrit-Change-Number: 18039
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200505/f2af5ab4/attachment.htm>


More information about the gerrit-log mailing list