alfianrahmn / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

IStreamCoder.encodeVideo will cause memory corruption if passed in frame has wrong dimensions #119

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a IVideoPicture of width 10 x 10
2. Create an encoding IStreamCoder with a height of 20x20
3. Attempt to encode the video

What is the expected output? What do you see instead?
We should give an error; instead we pass the frame to ffmpeg and bad things
start to happen (we begin corrupting the heap).

Original issue reported on code.google.com by art.cla...@gmail.com on 12 May 2009 at 11:49

GoogleCodeExporter commented 8 years ago
Fixed (with regression test) in r463

Original comment by art.cla...@gmail.com on 12 May 2009 at 11:57