Change in osmo-bsc[master]: handover_test: fix ts_str may be uninitialized

neels gerrit-no-reply at lists.osmocom.org
Mon Jul 12 13:59:00 UTC 2021


neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/24913 )

Change subject: handover_test: fix ts_str may be uninitialized
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/c/osmo-bsc/+/24913/1/tests/handover/handover_test.c 
File tests/handover/handover_test.c:

https://gerrit.osmocom.org/c/osmo-bsc/+/24913/1/tests/handover/handover_test.c@1093 
PS1, Line 1093: 			if (lchan->nr < given_subslots && ts_str) {
ts_str is never used uninitialized, because given_subslots == 0 and lchan->nr is unsigned.
well well, there you go asan.



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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I398ba24b945bad96896eeb5ddbaff9c48bacf8ab
Gerrit-Change-Number: 24913
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Mon, 12 Jul 2021 13:59:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210712/bf5e6312/attachment.htm>


More information about the gerrit-log mailing list