osmith has uploaded this change for review.
abis_nm_ipaccess_rsl_connect: initialize ia
Fix access to uninitialized value from inet_ntoa(ia) inside the log
message, found with valgrind.
Change-Id: I6c04fdc329bb56b82087c817e2fbe5a6504bf1dc
---
M src/osmo-bsc/abis_nm.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/51/27951/1
diff --git a/src/osmo-bsc/abis_nm.c b/src/osmo-bsc/abis_nm.c
index a4976c0..6bced27 100644
--- a/src/osmo-bsc/abis_nm.c
+++ b/src/osmo-bsc/abis_nm.c
@@ -3038,7 +3038,7 @@
uint32_t ip, uint16_t port, uint8_t stream)
{
struct msgb *attr;
- struct in_addr ia;
+ struct in_addr ia = {};
int error;
osmo_timer_setup(&trx->rsl_connect_timeout, rsl_connect_timeout, trx);
To view, visit change 27951. To unsubscribe, or for help writing mail filters, visit settings.