[MERGED] osmo-msc[master]: smpp: Unset esme->acl on socket close

2018-04-14 Thread Harald Welte
Harald Welte has submitted this change and it was merged. Change subject: smpp: Unset esme->acl on socket close .. smpp: Unset esme->acl on socket close We set acl->esme during _process_bind(), but we don't clear it in case the

osmo-msc[master]: smpp: Unset esme->acl on socket close

2018-04-14 Thread Harald Welte
Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/7795 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I1f140d7f9c7d89f200ddbcd81a8df66de69fb3e4 Gerrit-PatchSet: 1 Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit

[PATCH] osmo-msc[master]: smpp: Unset esme->acl on socket close

2018-04-14 Thread Harald Welte
Review at https://gerrit.osmocom.org/7795 smpp: Unset esme->acl on socket close We set acl->esme during _process_bind(), but we don't clear it in case the TCP connection for the ESME is dead. This leads to a stale acl->esme pointer, which we will attempt to dereference the next time a SMS is d