/[packages]/updates/8/ffmpeg/current/SOURCES/CVE-2020-22038.patch
ViewVC logotype

Diff of /updates/8/ffmpeg/current/SOURCES/CVE-2020-22038.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1752889 by ns80, Mon Oct 25 13:14:26 2021 UTC revision 1752890 by ns80, Mon Oct 25 13:21:11 2021 UTC
# Line 17  diff --git a/libavcodec/v4l2_m2m.c b/lib Line 17  diff --git a/libavcodec/v4l2_m2m.c b/lib
17  index d8d872ea09..944c1a2823 100644  index d8d872ea09..944c1a2823 100644
18  --- a/libavcodec/v4l2_m2m.c  --- a/libavcodec/v4l2_m2m.c
19  +++ b/libavcodec/v4l2_m2m.c  +++ b/libavcodec/v4l2_m2m.c
20  @@ -330,6 +330,8 @@ static void v4l2_m2m_destroy_context(void *opaque, uint8_t *context)  @@ -330,6 +330,7 @@ static void v4l2_m2m_destroy_context(void *opaque, uint8_t *context)
21       sem_destroy(&s->refsync);       sem_destroy(&s->refsync);
22    
23       close(s->fd);       close(s->fd);
 +    av_frame_free(&s->frame);  
24  +    av_packet_unref(&s->buf_pkt);  +    av_packet_unref(&s->buf_pkt);
25    
26       av_free(s);       av_free(s);

Legend:
Removed from v.1752889  
changed lines
  Added in v.1752890

  ViewVC Help
Powered by ViewVC 1.1.30