diff options
author | drochner <drochner@pkgsrc.org> | 2007-03-09 15:14:16 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2007-03-09 15:14:16 +0000 |
commit | c7b82234aa0d602b24e67b801f893865cb755d4e (patch) | |
tree | 22619e85d248d8ccff6bbeb242962ae2ebb11ab9 /multimedia/mplayer-share/patches | |
parent | 212eddaf535dfa01246cc1f88aa5e6338f2226ae (diff) | |
download | pkgsrc-c7b82234aa0d602b24e67b801f893865cb755d4e.tar.gz |
pull in a patch from mplayer CVS to fix buffer overflow in DMO reader, see
http://lists.grok.org.uk/pipermail/full-disclosure/2007-March/052738.html
bump PKGREVISIONs
Diffstat (limited to 'multimedia/mplayer-share/patches')
-rw-r--r-- | multimedia/mplayer-share/patches/patch-ak | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/mplayer-share/patches/patch-ak b/multimedia/mplayer-share/patches/patch-ak new file mode 100644 index 00000000000..1c4e3108eb6 --- /dev/null +++ b/multimedia/mplayer-share/patches/patch-ak @@ -0,0 +1,12 @@ +$NetBSD: patch-ak,v 1.3 2007/03/09 15:14:16 drochner Exp $ + +--- loader/dmo/DMO_VideoDecoder.c.orig 2007-03-09 14:52:13.000000000 +0100 ++++ loader/dmo/DMO_VideoDecoder.c +@@ -121,6 +121,7 @@ DMO_VideoDecoder * DMO_VideoDecoder_Open + + 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; |