Skip to content

fix bugs in FFT initialization in increaseNumberOfChannels#1

Open
ericek111 wants to merge 1 commit intoyliniemi:mainfrom
ericek111:main
Open

fix bugs in FFT initialization in increaseNumberOfChannels#1
ericek111 wants to merge 1 commit intoyliniemi:mainfrom
ericek111:main

Conversation

@ericek111
Copy link

memcpy had the src and dest parameters swapped and free was called upon an uninitialized pointer, causing a crash:

#0  0x00007ffff78ea575 in free () from /usr/lib/libc.so.6
#1  0x000055555555b30a in increaseNumberOfChannels (allChannelData=0x7ffff73ffe50, newNumberOfChannels=2) at .../AcidAnalyzer/src/properFFTalgorithm.c:323
#2  0x000055555555b621 in threadFunction (arg=0x0) at .../AcidAnalyzer/src/properFFTalgorithm.c:427

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant