[MPlayer-cvslog] r22205 - trunk/loader/dshow/DS_VideoDecoder.c
rtogni
subversion at mplayerhq.hu
Sun Feb 11 18:57:02 CET 2007
Author: rtogni
Date: Sun Feb 11 18:57:02 2007
New Revision: 22205
Modified:
trunk/loader/dshow/DS_VideoDecoder.c
Log:
Precent overflow of this->m_sVhdr->bmiHeader buffer, may have been
exploitable.
Modified: trunk/loader/dshow/DS_VideoDecoder.c
==============================================================================
--- trunk/loader/dshow/DS_VideoDecoder.c (original)
+++ trunk/loader/dshow/DS_VideoDecoder.c Sun Feb 11 18:57:02 2007
@@ -114,6 +114,7 @@
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;
More information about the MPlayer-cvslog
mailing list