Change in osmo-ggsn[master]: sgsnemu: Use in46a_from_eua() with array of in46_addr

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Oct 21 10:09:51 UTC 2018


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/11404


Change subject: sgsnemu: Use in46a_from_eua() with array of in46_addr
......................................................................

sgsnemu: Use in46a_from_eua() with array of in46_addr

Change-Id: Ie5a572a507d0556736a661cd3c1216e1e2a2a5df
Fixes: Coverity CID#180704
---
M sgsnemu/sgsnemu.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/04/11404/1

diff --git a/sgsnemu/sgsnemu.c b/sgsnemu/sgsnemu.c
index 1e61a09..9be8335 100644
--- a/sgsnemu/sgsnemu.c
+++ b/sgsnemu/sgsnemu.c
@@ -1373,7 +1373,7 @@
 
 static int create_pdp_conf(struct pdp_t *pdp, void *cbp, int cause)
 {
-	struct in46_addr addr;
+	struct in46_addr addr[2];
 
 	struct iphash_t *iph = (struct iphash_t *)cbp;
 

-- 
To view, visit https://gerrit.osmocom.org/11404
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie5a572a507d0556736a661cd3c1216e1e2a2a5df
Gerrit-Change-Number: 11404
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181021/71683962/attachment.htm>


More information about the gerrit-log mailing list