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.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/21914 )
Change subject: gprs_ns2: use zero initialized memory for vty_binds
......................................................................
gprs_ns2: use zero initialized memory for vty_binds
Change-Id: I5635d98c52948fddcc375e1be9b1cd04aa32bc3c
---
M src/gb/gprs_ns2_vty2.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/src/gb/gprs_ns2_vty2.c b/src/gb/gprs_ns2_vty2.c
index e8738c1..41daa74 100644
--- a/src/gb/gprs_ns2_vty2.c
+++ b/src/gb/gprs_ns2_vty2.c
@@ -108,7 +108,7 @@
static struct vty_bind *vty_bind_alloc(const char *name)
{
- struct vty_bind *vbind = talloc(vty_nsi, struct vty_bind);
+ struct vty_bind *vbind = talloc_zero(vty_nsi, struct vty_bind);
if (!vbind)
return NULL;
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21914
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I5635d98c52948fddcc375e1be9b1cd04aa32bc3c
Gerrit-Change-Number: 21914
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
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/20210102/d2ef0838/attachment.htm>