Mercurial > mplayer.hg
changeset 22187:88b36fd17976
Precent overflow of this->m_sVhdr->bmiHeader buffer, may have been
exploitable.
author | rtogni |
---|---|
date | Sun, 11 Feb 2007 17:57:02 +0000 |
parents | c6edb6c59a7a |
children | b9fa8b0ddab9 |
files | loader/dshow/DS_VideoDecoder.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/loader/dshow/DS_VideoDecoder.c Sun Feb 11 17:55:49 2007 +0000 +++ b/loader/dshow/DS_VideoDecoder.c Sun Feb 11 17:57:02 2007 +0000 @@ -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;