Z-Clive/aforge

ReplaceChannel bug

Closed this issue · 0 comments

What steps will reproduce the problem?
1. use ReplaceChannel

What is the expected output? What do you see instead?
working application. Crash, read out of bounds

in ReplaceChannels.cs in line 119: change 
FROM
ch  += ( startY + chData.Stride + startX );
TO:
ch  += ( startY * chData.Stride + startX );

Original issue reported on code.google.com by vvvrroo...@gmail.com on 4 Feb 2009 at 3:35

Attachments: