[FFmpeg-devel] [PATCH 10/11] avformat/oggparsevorbis: Use AV_DICT_DONT_STRDUP_VAL to avoid av_strdup

Michael Niedermayer michael at niedermayer.cc
Fri Jan 17 22:15:31 EET 2020


On Mon, Nov 11, 2019 at 02:12:58AM +0100, Andreas Rheinhardt wrote:
> This will likely also fix CID 1452427, a false positive resulting from
> Coverity thinking that av_dict_set() automatically frees its key and
> value parameters (even without the AV_DICT_DONT_STRDUP_* flags).
> 
> (AV_DICT_APPEND and AV_DICT_DONT_STRDUP_VAL are compatible with each
> other since a8c5b455, so we can reset this flag here. It has originally
> been removed in 0dc66553 when appending was added.)
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavformat/oggparsevorbis.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200117/009d3e2d/attachment.sig>


More information about the ffmpeg-devel mailing list