Change in simtrace2[master]: host: fix process_usb_msg(): rc may be uninitialized

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Sun Oct 24 20:21:32 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/simtrace2/+/25924 )


Change subject: host: fix process_usb_msg(): rc may be uninitialized
......................................................................

host: fix process_usb_msg(): rc may be uninitialized

Change-Id: Idce87adabc9a1bb21f395755aa15b17d6edef6fb
Fixes: CID#240740
---
M host/src/simtrace2-cardem-pcsc.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/24/25924/1

diff --git a/host/src/simtrace2-cardem-pcsc.c b/host/src/simtrace2-cardem-pcsc.c
index df191df..576de61 100644
--- a/host/src/simtrace2-cardem-pcsc.c
+++ b/host/src/simtrace2-cardem-pcsc.c
@@ -199,6 +199,7 @@
 		break;
 	case SIMTRACE_MSGT_BD_CEMU_CONFIG:
 		/* firmware confirms configuration change; ignore */
+		rc = 0;
 		break;
 	default:
 		printf("unknown simtrace msg type 0x%02x\n", sh->msg_type);

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

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: Idce87adabc9a1bb21f395755aa15b17d6edef6fb
Gerrit-Change-Number: 25924
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211024/f16a48eb/attachment.htm>


More information about the gerrit-log mailing list