[MPlayer-dev-eng] [PATCH] Fix potential overflow in get_metadata

Clément Bœsch ubitux at gmail.com
Sun Dec 19 11:15:04 CET 2010


On Thu, Dec 16, 2010 at 11:07:00PM +0100, Clément Bœsch wrote:
> There is at least one potential heap overflow in mplayer.c:get_metadata:
> 
>     meta = malloc (8);
>     sprintf (meta, "0x%08X", sh_video->format);
> 
> So here is a patch to change the way "meta" is handled in this function.
> 

No news on this, so I suppose it's fine; I'm going to wait 3 more days and
commit it if there is no objection.

-- 
Clément B.
Not sent from a jesusPhone.


More information about the MPlayer-dev-eng mailing list