View Single Post
Old 6th March 2013, 22:20   #67  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
Well it's actually 16*N+[1..7] that are wrong, but they get harder to expose.

Wrong buffer length is (width*4 + 32), used buffer length is ((width+15)/16*64), the overrun is ((7 - (width-1)%16)*4)

Code:
W%16		Overrun
 1		28
 2		24
 3		20
 4		16
 5		12
 6		 8
 7		 4
IanB is offline   Reply With Quote