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/.
lynxis lazus gerrit-no-reply at lists.osmocom.orglynxis lazus has uploaded this change for review. ( 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(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/14/21914/1
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-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210101/3b319ecf/attachment.htm>