commit | 937f583a7e0c5334b68e958683624e6dfadcd6c0 | [log] [tgz] |
---|---|---|
author | Vadim Yanitskiy <axilirator@gmail.com> | Wed Jul 24 19:14:32 2019 +0700 |
committer | Vadim Yanitskiy <axilirator@gmail.com> | Wed Jul 24 19:14:44 2019 +0700 |
tree | 89ba0d0dc20e958385d9183db359cd2969749a15 | |
parent | 4ca7f6a17e0677d9b54d7cd5786c47cba24544b1 [diff] |
hlr_ussd.c: rx_proc_ss_req(): fix NULL pointer dereference The SS payload is mandatory for GSUP PROC_SS_{REQ,RSP} messages with session state BEGIN or CONTINUE, and optional for the END. Make sure that it's present for both BEGIN and CONTINUE, consider received message as incorrect otherwise. In case of the END, call handle_ussd() / handle_ss() only if SS payload is present. Change-Id: Ia71cabbf396bd1388e764a1749e953ac1782e307 Fixes: CID#188841