fixing memory corruption in CvEM::read (Patch #1399)


Added by Alexander Alekseychuk over 13 years ago. Updated almost 13 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:ml
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

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


cvem_read_method_fix.patch (680 Bytes) Alexander Alekseychuk, 2011-09-28 06:17 pm


Associated revisions

Revision 2547f755
Added by Vadim Pisarevsky over 13 years ago

fixed memory corruption in CvEM::read() (ticket #1399)

Revision ecc51817
Added by Roman Donchenko over 11 years ago

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

Also available in: Atom PDF