osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/33395 ) Change subject: smpp_handle_bind_tx: initialize tlv ...................................................................... smpp_handle_bind_tx: initialize tlv Fixes: CID#272977 Change-Id: I22da1aa95bf19a9bb1d8e0875f3b68356d801c70 --- M src/libsmpputil/smpp_smsc.c 1 file changed, 11 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/95/33395/1 diff --git a/src/libsmpputil/smpp_smsc.c b/src/libsmpputil/smpp_smsc.c index d54b3c1..314dc60 100644 --- a/src/libsmpputil/smpp_smsc.c +++ b/src/libsmpputil/smpp_smsc.c @@ -467,7 +467,7 @@ { struct bind_transmitter_t bind; struct bind_transmitter_resp_t bind_r; - struct tlv_t tlv; + struct tlv_t tlv = {}; int rc; SMPP34_UNPACK(rc, BIND_TRANSMITTER, &bind, msgb_data(msg), -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/33395 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I22da1aa95bf19a9bb1d8e0875f3b68356d801c70 Gerrit-Change-Number: 33395 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith@sysmocom.de> Gerrit-MessageType: newchange