Buffer is accessed out of bounds.

pull/1288/head
Nghia Ho 11 years ago
parent 449b99a6d7
commit c6858c3fb0
  1. 2
      modules/ocl/src/haar.cpp

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

Loading…
Cancel
Save