Skip to content

Commit 07dc868

Browse files
committed
Merge branch 'fix/fix_pawr_crash_errors_v6.0' into 'release/v6.0'
Fix/fix pawr crash errors (v6.0) See merge request espressif/esp-idf!43945
2 parents b7fe4ba + 79c3b47 commit 07dc868

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

components/bt/common/hci_log/bt_hci_log.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ esp_err_t IRAM_ATTR bt_hci_log_record_data(bt_hci_log_t *p_hci_log_ctl, char *st
225225
ts = esp_timer_get_time();
226226

227227
temp_buf = (uint8_t *)malloc(data_len + 8);
228+
if (!temp_buf) {
229+
return ESP_ERR_NO_MEM;
230+
}
231+
228232
memset(temp_buf, 0x0, data_len + 8);
229233

230234
memcpy(temp_buf, &ts, 8);

components/bt/host/nimble/nimble

0 commit comments

Comments
 (0)