[FFmpeg-devel] [PATCH] libavformat/utils: Fix segfault on m4a cover artwork parsing

Michael Niedermayer michaelni at gmx.at
Wed May 28 03:48:25 CEST 2014

On Tue, May 27, 2014 at 02:38:44PM +0300, Lazaros Koromilas wrote:
> Hello list,
> I came across this bug when my MPD choked on some iTunes files while updating
> its database.  Turns out that I had a few m4a files with zero-length cover
> artwork tags that triggered this.  I've uploaded to the ftp server a sample
> created from scratch with ffmpeg and TagLib under the name
> segfault_avformat_cover_art.{m4a,txt}.  The diff at the end avoids the crash,
> but I don't know if the return code is appropriate.  Maybe you want to simply
> ignore those cases?  Including valgring output also.  I'm not on the list,
> so please reply in person for anything else.

patch applied


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: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140528/bccba74a/attachment.asc>

More information about the ffmpeg-devel mailing list