Skip to content
Success

Changes

Summary

  1. map_sccp: Fix crash during ev MAP_SCCP_EV_RAN_DISC in st (details)
Commit 7784eb4e3b3b375ac52d3471494973e293b2e6d1 by Pau Espin Pedrol
map_sccp: Fix crash during ev MAP_SCCP_EV_RAN_DISC in st MAP_SCCP_ST_WAIT_CC

Recent commit changed event MAP_SCCP_EV_RAN_DISC to have a bool
parameter instead of a msgb pointer, however only code in state
MAP_SCCP_ST_CONNECTED was updated to account for the change; other
states were left checking the data ptr as if it was a msgb and crashed
while accessing mem address 0x1 (bool true) in msg_has_l2_data().

Fixes: 79589556244bf9cea6e8de8793a611f16e9052cd
Related: SYS#7208
Change-Id: If53dbd6b5a8abffcf94e6d666209954f17e9f9d7
The file was modifiedsrc/osmo-hnbgw/context_map_sccp.c