Opened 2 years ago

Closed 2 years ago

#8045 closed defect (invalid)

Free a non-heap memory

Reported by: wurongxin Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ffmpeg -i input ... output
ffmpeg version
built on ...

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

In the source exr.c, at Line 1607, the function av_dict_set may free the variable "key" which is a non-heap memory object. For more details, please read the code snippet in the attachment.

Attachments (1)

Screenshot 2019-07-28 at 10.00.01 PM.png (233.8 KB ) - added by wurongxin 2 years ago.
Code snippet of the bug

Download all attachments as: .zip

Change History (2)

by wurongxin, 2 years ago

Code snippet of the bug

comment:1 by wurongxin, 2 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.