diff options
| author | Ming Qian <ming.qian@oss.nxp.com> | 2025-04-21 16:12:54 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-04-24 15:21:37 +0200 |
| commit | 7500bb9cf164edbb2c8117d57620227b1a4a8369 (patch) | |
| tree | a45c7fac1dde3cd7546b99378d1c03d876a299d1 /tools/perf/scripts/python | |
| parent | faa8051b128f4b34277ea8a026d02d83826f8122 (diff) | |
media: imx-jpeg: Cleanup after an allocation error
When allocation failures are not cleaned up by the driver, further
allocation errors will be false-positives, which will cause buffers to
remain uninitialized and cause NULL pointer dereferences.
Ensure proper cleanup of failed allocations to prevent these issues.
Fixes: 2db16c6ed72c ("media: imx-jpeg: Add V4L2 driver for i.MX8 JPEG Encoder/Decoder")
Cc: stable@vger.kernel.org
Signed-off-by: Ming Qian <ming.qian@oss.nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
