Change in libosmocore[master]: gprs_ns2_sns: Fix memory leak when creating ip[46]_local arrays

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

pespin gerrit-no-reply at lists.osmocom.org
Fri Mar 19 15:27:57 UTC 2021


pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/23417 )

Change subject: gprs_ns2_sns: Fix memory leak when creating ip[46]_local arrays
......................................................................


Patch Set 1:

(2 comments)

https://gerrit.osmocom.org/c/libosmocore/+/23417/1/src/gb/gprs_ns2_sns.c 
File src/gb/gprs_ns2_sns.c:

https://gerrit.osmocom.org/c/libosmocore/+/23417/1/src/gb/gprs_ns2_sns.c@812 
PS1, Line 812: 		gss->ip4_local = ip4_elems;
is this needed now that you use talloc_realloc?


https://gerrit.osmocom.org/c/libosmocore/+/23417/1/src/gb/gprs_ns2_sns.c@847 
PS1, Line 847: 		gss->ip6_local = ip6_elems;
is this needed now that you use talloc_realloc?



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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I12cb670e087c6d6190f3f5bf8483ea62008ae06f
Gerrit-Change-Number: 23417
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Fri, 19 Mar 2021 15:27:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210319/87bb5438/attachment.htm>


More information about the gerrit-log mailing list