#19162·esp-idf

fix:摄像头返回数据偶然异常会导致访问越界 (IDFGH-18376)

Author: ACaiAaCreated Oct 1, 2026Updated Oct 1, 2026
LabelsStatus: Opened

https://github.com/espressif/esp-idf/blob/4d59230ddff16327812782151ef0afef202dc6d7/components/esp_driver_cam/dvp/src/esp_cam_ctlr_dvp_cam.c#L208 未考虑size小于2的情况,我使用ov2640 dvp有时会导致设备重启 `Guru Meditation Error: Core 0 panic'ed (Load access fault). Exception was unhandled.

Core 0 register dump: MEPC : 0x4ff01f0e RA : 0x4ff020e8 SP : 0x4ff1bb20 GP : 0x4ff18300
--- 0x4ff01f0e: esp_cam_ctlr_dvp_get_jpeg_size`