[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-ocrad] Bug in the Profile::iscpit loop
From: |
Georgi Demirchev |
Subject: |
[Bug-ocrad] Bug in the Profile::iscpit loop |
Date: |
Wed, 15 Nov 2006 14:41:07 +0200 |
Dear Mr. Diaz,
I saw a bug in Profile::iscpit function, I've seen it only once and and is
hard to be sumilated again:
The function was invoked with cpos = 25, data member had 48 elements. Inside
the loop, where:
...
if( data[mid-i-1] < th ) { imin = mid - i - 1; break; }
...
and when mid = 11, i = 11, the -1st element was referenced.
Kind regards,
Georgi
- [Bug-ocrad] Bug in the Profile::iscpit loop,
Georgi Demirchev <=