Change in osmo-bsc[master]: prevent a NULL pointer dereference in debug_candidate()

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

Stefan Sperling gerrit-no-reply at lists.osmocom.org
Thu Nov 8 09:13:26 UTC 2018


Stefan Sperling has posted comments on this change. ( https://gerrit.osmocom.org/11630 )

Change subject: prevent a NULL pointer dereference in debug_candidate()
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/11630/1/src/osmo-bsc/handover_decision_2.c
File src/osmo-bsc/handover_decision_2.c:

https://gerrit.osmocom.org/#/c/11630/1/src/osmo-bsc/handover_decision_2.c@844
PS1, Line 844: 	}
> This is not about lchan->ts->trx->bts being NULL, it is about candidate->bts being NULL.
OK I see that the caller guarantees that it isn't NULL.
I'm going to flag this as a false positive in Coverity.



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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie3d672d835bbc136809e593a819a6dda7c84a88e
Gerrit-Change-Number: 11630
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Stefan Sperling <ssperling at sysmocom.de>
Gerrit-CC: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Comment-Date: Thu, 08 Nov 2018 09:13:26 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181108/377f3418/attachment.htm>


More information about the gerrit-log mailing list