Change in ...osmocom-bb[master]: virt_phy: Fix hexdump of L1CTL SIM REQ in l1ctl_rx_sim_req()

laforge gerrit-no-reply at lists.osmocom.org
Sun Jul 21 10:53:46 UTC 2019


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/14881


Change subject: virt_phy: Fix hexdump of L1CTL SIM REQ in l1ctl_rx_sim_req()
......................................................................

virt_phy: Fix hexdump of L1CTL SIM REQ in l1ctl_rx_sim_req()

Change-Id: I74e07e2c97bfe5d6e9c6e848ebce58ced1b197aa
Closes: CID#198538
---
M src/host/virt_phy/src/l1ctl_sap.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/81/14881/1

diff --git a/src/host/virt_phy/src/l1ctl_sap.c b/src/host/virt_phy/src/l1ctl_sap.c
index 8944398..f95a4ca 100644
--- a/src/host/virt_phy/src/l1ctl_sap.c
+++ b/src/host/virt_phy/src/l1ctl_sap.c
@@ -539,7 +539,7 @@
 	uint8_t *data = msg->data + sizeof(struct l1ctl_hdr);
 
 	LOGPMS(DL1C, LOGL_ERROR, ms, "Rx SIM Request (length: %u, data: %s): UNSUPPORTED\n",
-		len, osmo_hexdump(data, sizeof(data)));
+		len, osmo_hexdump(data, len));
 
 }
 

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I74e07e2c97bfe5d6e9c6e848ebce58ced1b197aa
Gerrit-Change-Number: 14881
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at gnumonks.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190721/401ec670/attachment-0001.html>


More information about the gerrit-log mailing list