-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
dnn: buffer overflow in Net::Impl::dump() #19034
Copy link
Copy link
Closed
Labels
Milestone
Description
System information (version)
- OpenCV => 4.5.1-pre
- Operating System / Platform => Windows 64 Bit
- Compiler => mingw64
Detailed description
only 8 colors here:
opencv/modules/dnn/src/dnn.cpp
Line 4464 in 31619fa
| string colors[] = {"#ffffb3", "#fccde5", "#8dd3c7", "#bebada", "#80b1d3", "#fdb462", "#ff4848", "#b35151"}; |
but 9 colorId's used here:
opencv/modules/dnn/src/dnn.cpp
Line 4609 in 31619fa
| case DNN_TARGET_HDDL: out << "HDDL"; colorId = 8; break; |
it's only in the master branch, 3.4 has it correct (6 colors / colorId's)
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues,
answers.opencv.org, Stack Overflow, etc and have not found solution - I updated to latest OpenCV version and the issue is still there
- There is reproducer code and related data files: videos, images, onnx, etc
Reactions are currently unavailable