fixing memory corruption in CvEM::read (Patch #1399)
Description
The patch fixes a memory corrupting bug in CvEM::read
method. The problem was mostly apparent if a model is read in a newly created, i.e. untrained, CvEM
object (causing in my particular case wrong results and a segfault in destructor).
With best regards,
Alexander Alekseychuk
Associated revisions
fixed memory corruption in CvEM::read() (ticket #1399)
Merge pull request #1399 from pengx17:master_retina_ocl_fix
History
Updated by Vadim Pisarevsky over 13 years ago
thanks for the patch! It has been committed to trunk, r7038
- Status changed from Open to Done
- (deleted custom field) set to fixed
Updated by Andrey Kamaev almost 13 years ago
- Tracker changed from Feature to Patch
- Target version set to 2.4.0
- Description changed from The patch fixes a memory corrupting bug in [[CvEM]]::read method. The proble... to The patch fixes a memory corrupting bug in @CvEM::read@ method. The problem ... More