a26c4fa2a2
Example: img of size 10x10 and templ of size 11x9. In subsequent code this will results in either width or height of corrSize to be zero (0). Line 261 will call crossCorr which will then have a zero size of either blocksize.width or blocksize.height resulting in a division by zero crach in lines 137 or 138.