[libav-devel] [PATCH 1/1] av_dict_set: fix potential memory leak with AV_DICT_DONT_OVERWRITE

Luca Barbato lu_zero at gentoo.org
Mon Jun 9 01:42:35 CEST 2014


On 08/06/14 18:05, Janne Grunau wrote:
> av_dict_set leaks it key/value arguments if AV_DICT_DONT_OVERWRITE is
> combined with AV_DICT_DONT_STRDUP_{KEY,VAL} and the key exists.
> ---
>  libavutil/dict.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 

Probably Ok.

lu



More information about the libav-devel mailing list