CVE-2024-35368: Ffmpeg Hw Frames Ctx Double Free On Goto Fail
Potential double-free (CWE-415): $F->buf[0] was previously assigned via av_buffer_create(...) with a custom release callback that owns resources such as the MppFrame / AVDRMFrameDescriptor / decoder ref. The subsequent assignment $F->hw_frames_ctx = av_buffer_ref(...) checks for NULL and on failure jumps to a manual cleanup label via 'goto'. The manual clean
greprules fetch cve-2024-35368-ffmpeg-hw-frames-ctx-double-free-on-goto-fail --engine opengrepDescription
Potential double-free (CWE-415): $F->buf[0] was previously assigned via av_buffer_create(...) with a custom release callback that owns resources such as the MppFrame / AVDRMFrameDescriptor / decoder ref. The subsequent assignment $F->hw_frames_ctx = av_buffer_ref(...) checks for NULL and on failure jumps to a manual cleanup label via 'goto'. The manual clean
Community feedback
0 rule-level signals from signed-in users.
- Useful reports
- 0
- Context false positives
- 0
- Metadata suggestions
- 0
Contextual precision
Aggregated from approved scan feedback. False-positive reports describe observed scan contexts, not a global rule verdict.
- Findings observed
- 0
- Projects
- 0
- Reporters
- 0
Precision details are collecting more signed-in reports before verdict counts or ratios are emphasized.
No approved finding verdicts yet.
No scan diagnostics reported yet.