View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000036CLAMModule: Tonal Analysispublic2016-03-13 18:302016-03-13 18:30
Assigned To 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000036: FourierTransform writes past end of array and mixes up half of spectrum
DescriptionThis is a respin of the patch that I sent to the mailing list in July 2014.
It fixes the following errors:

 - _spectrum has 2*mFrameSize elements but when i is 1, we store the imaginary part in _spectrum[mFrameSize*2-1+1].

 - When we start the second loop with i=1, _spectrum[n*2] and _spectrum[n*2+1] don't belong to the same complex number for n > mFrameSize.

 - _spectrum[mFrameSize] and _spectrum[mFrameSize+1] were never assigned.
Steps To ReproduceBuild CLAM with USE_FFTW3.
Run chordata inside valgrind.
TagsNo tags attached.
Attached Filespatch file icon FourierTransform.patch [^] (570 bytes) 2016-03-13 18:30 [Show Content]

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2016-03-13 18:30 denial New Issue
2016-03-13 18:30 denial File Added: FourierTransform.patch

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker