cppcheck: haar.cpp, buffer overflow in sprintf (Bug #1661)
Description
There is a buffer overflow at line 248 in haar.cpp,
sprintf( errorstr, "rectangle #%d of the classifier #%d of "
"the stage classifier #%d is not inside "
"the reference (original) cascade window", k, j, i );
errorstr is declared as char errorstr100, the sprintf text exceeds 100 characters
Related issues
duplicates Bug #1389: Buffer overrun in haar.cpp | Done |
Associated revisions
Merge pull request #1661 from look4pritam:my-branch
History
Updated by Marina Kolpakova almost 13 years ago
Duplicate of #1389.
- Status changed from Open to Cancelled
- Target version set to 2.4.0
- Assignee set to Marina Kolpakova