Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1eeb8d5 authored by Prabhu MC's avatar Prabhu MC Committed by Automerger Merge Worker
Browse files

check p_db pointer for NULL check am: c31a4821

parents b01dc468 c31a4821
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -337,7 +337,7 @@ static bool sdp_copy_raw_data(tCONN_CB* p_ccb, bool offset) {
  uint8_t* p_end;
  uint8_t type;

  if (p_ccb->p_db->raw_data) {
  if (p_ccb->p_db && p_ccb->p_db->raw_data) {
    cpy_len = p_ccb->p_db->raw_size - p_ccb->p_db->raw_used;
    list_len = p_ccb->list_len;
    p = &p_ccb->rsp_list[0];