diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-07 15:37:33 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-07 15:37:33 +0200 |
commit | 984f3b8047ba29dea8c1077721eef0e07a12ed8f (patch) | |
tree | 6ebce7e1ecc6c7964be89d8e8595a5222b091983 | |
parent | ec1f15d513016565eae8678612aa5e38c078cca5 (diff) |
bssap: Speculative crash fix.
-rw-r--r-- | openbsc/src/bssap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/bssap.c b/openbsc/src/bssap.c index ec20341aa..bcaad3046 100644 --- a/openbsc/src/bssap.c +++ b/openbsc/src/bssap.c @@ -280,7 +280,7 @@ static int bssmap_handle_cipher_mode(struct sccp_connection *conn, return gsm48_send_rr_ciph_mode(msg->lchan, include_imeisv); reject: - if (msg->lchan->msc_data) + if (msg->lchan && msg->lchan->msc_data) msg->lchan->msc_data->block_gsm = 0; resp = bssmap_create_cipher_reject(reject_cause); |