[XS] Change in osmo-sgsn[master]: sgsn: vty: guard NULL iu.ue_ctx when dumping
andrei.gosman@gmail.com has posted comments on this change by andrei.gosman@gmail.com. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43587?usp=email ) Change subject: sgsn: vty: guard NULL iu.ue_ctx when dumping ...................................................................... Patch Set 1: lynxis, could I ask you to reconsider the hold on this one specifically? The crash is reachable in normal operation, not only on an error path: releasing the Iu connection on inactivity leaves the MM context attached with iu.ue_ctx NULL, and any later "show mm-context" takes osmo-sgsn down. The fix is a five-line guard in one vty function. It checks a pointer before dereferencing it and changes no state. Against that, the SGSN libvlr rework is a long queue, and master carries a reachable crash for all of it. A guard this small is trivial to rebase or to drop once the rework reaches that code, so it adds close to nothing at your end. If that cost is not visible from outside, or if the guard collides with something specific in the rework, I will take your word for it and wait. -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43587?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: I19d380401edcdce18586ed9de26cfe85c925c1f2 Gerrit-Change-Number: 43587 Gerrit-PatchSet: 1 Gerrit-Owner: andrei.gosman@gmail.com <andrei.gosman@gmail.com> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> Gerrit-CC: pespin <pespin@sysmocom.de> Gerrit-Comment-Date: Tue, 22 Sep 2026 05:53:22 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: No
participants (1)
-
andrei.gosman@gmail.com