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

Commit 53aa4349 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix possible NPE for UNKNOWN code path"

parents bc1623a4 86ac7ac6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1497,7 +1497,9 @@ void smp_process_io_response(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {
          break;
        case SMP_OOB_UNKNOWN:
          LOG_WARN("SMP_MODEL_SEC_CONN_OOB with SMP_OOB_UNKNOWN");
          smp_send_pair_fail(p_cb, NULL);
          tSMP_INT_DATA smp_int_data;
          smp_int_data.status = SMP_PAIR_AUTH_FAIL;
          smp_send_pair_fail(p_cb, &smp_int_data);
          return;
      }
    }