1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- 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
This commit is contained in:
Martin Wilke 2007-03-09 15:55:12 +00:00
parent 74c50829e9
commit 177e773097
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187026
2 changed files with 11 additions and 1 deletions

View File

@ -84,7 +84,7 @@
PORTNAME= mplayer
PORTVERSION= 0.99.10
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= multimedia audio
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \
http://www2.mplayerhq.hu/MPlayer/releases/ \

View File

@ -0,0 +1,10 @@
--- 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;