Change in osmo-msc[master]: sgs_iface: fix nullpointer dereference

dexter gerrit-no-reply at lists.osmocom.org
Thu Apr 4 11:39:57 UTC 2019


Hello Vadim Yanitskiy, Jenkins Builder, 

I'd like you to reexamine a change. Please visit

    https://gerrit.osmocom.org/13513

to look at the new patch set (#2).

Change subject: sgs_iface: fix nullpointer dereference
......................................................................

sgs_iface: fix nullpointer dereference

The function sgs_tx() is using the sgs connection pointer as context,
even though it has done a check for a nullpointer in the line before.
This is very prone to lead into a segfault when the SGs connection dies.

Change-Id: I88b95e3f8cd35241ad68f08d94c6ad7067b842e6
Related: OS#3859
---
M src/libmsc/sgs_iface.c
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/13/13513/2
-- 
To view, visit https://gerrit.osmocom.org/13513
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I88b95e3f8cd35241ad68f08d94c6ad7067b842e6
Gerrit-Change-Number: 13513
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190404/256c2a00/attachment.html>


More information about the gerrit-log mailing list