projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
449b99a
)
Buffer is accessed out of bounds.
author
Nghia Ho
<nghiaho12@yahoo.com>
Sat, 17 Aug 2013 10:32:13 +0000
(20:32 +1000)
committer
Nghia Ho
<nghiaho12@yahoo.com>
Sat, 17 Aug 2013 10:32:13 +0000
(20:32 +1000)
modules/ocl/src/haar.cpp
patch
|
blob
|
history
diff --git
a/modules/ocl/src/haar.cpp
b/modules/ocl/src/haar.cpp
index
6283ac8
..
934957e
100644
(file)
--- a/
modules/ocl/src/haar.cpp
+++ b/
modules/ocl/src/haar.cpp
@@
-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;