Skip to content

Commit 512b16a

Browse files
committed
fix(espcoredump): fix incorrect pointer usage in checksum update call
1 parent bf45c56 commit 512b16a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/espcoredump/src/core_dump_flash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ static esp_err_t esp_core_dump_flash_write_data(core_dump_write_data_t* wr_data,
185185
wr_data->off += COREDUMP_CACHE_SIZE;
186186

187187
/* Update checksum with the newly written data on the flash. */
188-
esp_core_dump_checksum_update(&wr_data->checksum_ctx, &wr_data->cached_data, COREDUMP_CACHE_SIZE);
188+
esp_core_dump_checksum_update(&wr_data->checksum_ctx, wr_data->cached_data, COREDUMP_CACHE_SIZE);
189189

190190
/* Reset cache from the next use. */
191191
wr_data->cached_bytes = 0;

0 commit comments

Comments
 (0)