Change in osmo-bsc[master]: assignment_fsm: fix possible null pointer dereference

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

laforge gerrit-no-reply at lists.osmocom.org
Thu Feb 4 14:07:52 UTC 2021


laforge has uploaded a new patch set (#2) to the change originally created by dexter. ( https://gerrit.osmocom.org/c/osmo-bsc/+/22678 )

Change subject: assignment_fsm: fix possible null pointer dereference
......................................................................

assignment_fsm: fix possible null pointer dereference

In assignment_success(), conn_get_bts() is called to get the BTS struct
from the connection. However, it is not checked whether the function
actually returned a pointer. The bts struct is used to check if it is a
siemens BTS using is_siemens_bts(), so lets just check before we pass on
the bts pointer.

Change-Id: I5b4f44113b24d4ee4d44f54eff87056b20a7158d
Related: CID#216933
---
M src/osmo-bsc/assignment_fsm.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/78/22678/2
-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/22678
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I5b4f44113b24d4ee4d44f54eff87056b20a7158d
Gerrit-Change-Number: 22678
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210204/24a8ee8e/attachment.htm>


More information about the gerrit-log mailing list