mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
4e513a3346
In cases where the signaure string contains a terminating character, the std::string member function size returns a smaller value than the allocated string. In these cases, if you then try to use substr, you will get an out_of_range exception. This patch remedies the problem.