diff options
author | Nícolas F. R. A. Prado <nfraprado@collabora.com> | 2021-04-06 15:23:34 -0300 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2021-04-14 16:33:09 +0200 |
commit | 63dd6a832722f801e93286f03428061dd0b16c00 (patch) | |
tree | 58e0c824d71793ebdb73b0876c17d18d9ce80cd9 /src/android/mm/generic_camera_buffer.cpp | |
parent | 330ea9d946f97001593f65a08276c44076fb0f10 (diff) |
libcamera: pipeline: rkisp1: Assert empty queuedRequests before clearing frameInfo
Assert that there are no queued requests before clearing the frameInfo,
otherwise a SEGFAULT can occur.
This issue happened while running lc-compliance.
Suggested-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/android/mm/generic_camera_buffer.cpp')
0 files changed, 0 insertions, 0 deletions