mirror of https://github.com/opencv/opencv.git
Root cause: when calling imread to read the pgm file, when returning with success reading file, the destructor will free the resource which used by memcpy, but in the code, the resource calculation was not correct, therefore, it will cause memory corruption during resource free.pull/6446/head
parent
ec63343f34
commit
94a9e16943
1 changed files with 4 additions and 5 deletions
Loading…
Reference in new issue