[MPlayer-dev-eng] [PATCH] Fix crashes in CreatePalette
Steinar H. Gunderson
sgunderson at bigfoot.com
Thu Mar 4 16:34:27 CET 2010
On Mon, Mar 01, 2010 at 03:11:46PM +0100, Steinar H. Gunderson wrote:
> CreatePalette had problems for me, and looking at the code it was quite
> obvious why; someone had reversed the order of the two elements of the
> LOGPALETTE struct, causing it to allocate and copy a bogus amount of memory.
> Why on earth anybody would want to do that is beyond me; whoever did it even
> left a comment, but it wasn't very helpful, as it crashed nevertheless. :-)
Committed to Subversion.
/* Steinar */
--
Homepage: http://www.sesse.net/
More information about the MPlayer-dev-eng
mailing list