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/.
Stefan Sperling gerrit-no-reply at lists.osmocom.orgStefan Sperling has posted comments on this change. ( https://gerrit.osmocom.org/11871 ) Change subject: properly store IPv6 addresses in struct tun_t ...................................................................... Patch Set 1: (2 comments) https://gerrit.osmocom.org/#/c/11871/1/lib/tun.c File lib/tun.c: https://gerrit.osmocom.org/#/c/11871/1/lib/tun.c@279 PS1, Line 279: netdev_delroute(&tun->dstaddr.v4, &tun->addr.v4, &tun->netmask); > Just wondering, is this only needed for IPV4? What about IPv6? I see we also have a dstaddr in tun_s […] Yes it looks wrong. But I'd prefer to not mix functional changes in here. https://gerrit.osmocom.org/#/c/11871/1/lib/tun.c@332 PS1, Line 332: strncpy(snet, inet_ntoa(tun->addr.v4), sizeof(snet)); > Isn't this reading out of bounds? (also before this change). OMG I didn't even realize that this is using strncpy() to copy an in_addr ?!? -- To view, visit https://gerrit.osmocom.org/11871 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ggsn Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Idd2431ad25d7fa182e52e2bd5231ceb04d427c34 Gerrit-Change-Number: 11871 Gerrit-PatchSet: 1 Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de> Gerrit-Reviewer: Jenkins Builder (1000002) Gerrit-Reviewer: Stefan Sperling <ssperling at sysmocom.de> Gerrit-CC: Pau Espin Pedrol <pespin at sysmocom.de> Gerrit-Comment-Date: Thu, 22 Nov 2018 12:07:27 +0000 Gerrit-HasComments: Yes Gerrit-HasLabels: No -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181122/54732ba6/attachment.htm>