mirror of
https://github.com/opencv/opencv.git
synced 2026-12-04 22:17:18 -06:00
Fixed an off-by-1 buffer resize, the space for the null termination was forgotten. Prefer snprintf, which can never overflow (if given the right size). In one case I cheated and used strcpy, because I cannot figure out the buffer size at that point in the code.