1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 22:30:22 +00:00

Precent overflow of this->m_sVhdr->bmiHeader buffer, may have been

exploitable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22205 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rtogni 2007-02-11 17:57:02 +00:00
parent 2ea691d6f3
commit 656c22ca16

View File

@ -114,6 +114,7 @@ DS_VideoDecoder * DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEAD
this->iv.m_bh = malloc(bihs);
memcpy(this->iv.m_bh, format, bihs);
this->iv.m_bh->biSize = bihs;
this->iv.m_State = STOP;
//this->iv.m_pFrame = 0;