Buffer is accessed out of bounds.

This commit is contained in:
Nghia Ho 2013-08-17 20:32:13 +10:00
parent 449b99a6d7
commit c6858c3fb0

View File

@ -262,7 +262,7 @@ static GpuHidHaarClassifierCascade * gpuCreateHidHaarClassifierCascade( CvHaarCl
int datasize;
int total_classifiers = 0;
int total_nodes = 0;
char errorstr[100];
char errorstr[256];
GpuHidHaarStageClassifier *stage_classifier_ptr;
GpuHidHaarClassifier *haar_classifier_ptr;