freebsd-ports/multimedia/mplayer/files/patch-DMO_VideoDecoder.c
Martin Wilke 177e773097 - Fix Buffer overflow vulnerability
- Bump PORTREVISION

Approved by:	simon (secteam)
Obtained from:	mplayer svn
Security:	http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1246
2007-03-09 15:55:12 +00:00

10 lines
341 B
C

--- loader/dmo/DMO_VideoDecoder.c 2007/01/26 09:21:22 22019
+++ loader/dmo/DMO_VideoDecoder.c 2007/02/11 17:55:49 22204
@@ -119,6 +119,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;