Mercurial > mplayer.hg
diff loader/dmo/DMO_VideoDecoder.c @ 22186:c6edb6c59a7a
Precent overflow of this->m_sVhdr->bmiHeader buffer, may have been
exploitable.
Reported by Moritz Jodeit
author | rtogni |
---|---|
date | Sun, 11 Feb 2007 17:55:49 +0000 |
parents | 2934974c366a |
children | b99edbf76db4 |
line wrap: on
line diff
--- a/loader/dmo/DMO_VideoDecoder.c Sun Feb 11 17:54:18 2007 +0000 +++ b/loader/dmo/DMO_VideoDecoder.c Sun Feb 11 17:55:49 2007 +0000 @@ -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;