We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems that there exists a potential integer overflow. Please find the following description:
Call to function FileRead :: open(...)
stk/src/FileLoop.cpp
Line 50 in 1fec6e0
In FileRead :: open(...), Call to function getWavInfo(...)
stk/src/FileRead.cpp
Line 100 in 1fec6e0
In getWavInfo(...), variable temp is read from external source
Line 223 in 1fec6e0
channels_ can be an arbitrary integer
Line 227 in 1fec6e0
Back to function in FileWrite: fix warnings #1, call to fileSize(...)
Line 53 in 1fec6e0
stk/include/FileRead.h
Line 77 in 1fec6e0
In the same function with make casts in Fir.h explicit #6, Call to function StkFrames :: resize(...) with channels_ as second argument
Line 80 in 1fec6e0
Line 56 in 1fec6e0
In function StkFrames :: resize(...), if channels_ is large enough, the multiplication can cause integer overflow
stk/src/Stk.cpp
Line 296 in 1fec6e0
Line 299 in 1fec6e0
In the same function with iOS-friendly static library #8, if channels_ is large enough (from iOS-friendly static library #8), allocation of memory with multiplication may cause integer overflow
Line 302 in 1fec6e0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It seems that there exists a potential integer overflow. Please find the following description:
Call to function FileRead :: open(...)
stk/src/FileLoop.cpp
Line 50 in 1fec6e0
In FileRead :: open(...), Call to function getWavInfo(...)
stk/src/FileRead.cpp
Line 100 in 1fec6e0
In getWavInfo(...), variable temp is read from external source
stk/src/FileRead.cpp
Line 223 in 1fec6e0
channels_ can be an arbitrary integer
stk/src/FileRead.cpp
Line 227 in 1fec6e0
Back to function in FileWrite: fix warnings #1, call to fileSize(...)
stk/src/FileLoop.cpp
Line 53 in 1fec6e0
stk/include/FileRead.h
Line 77 in 1fec6e0
In the same function with make casts in Fir.h explicit #6, Call to function StkFrames :: resize(...) with channels_ as second argument
stk/include/FileRead.h
Line 80 in 1fec6e0
stk/src/FileLoop.cpp
Line 56 in 1fec6e0
In function StkFrames :: resize(...), if channels_ is large enough, the multiplication can cause integer overflow
stk/src/Stk.cpp
Line 296 in 1fec6e0
stk/src/Stk.cpp
Line 299 in 1fec6e0
In the same function with iOS-friendly static library #8, if channels_ is large enough (from iOS-friendly static library #8), allocation of memory with multiplication may cause integer overflow
stk/src/Stk.cpp
Line 302 in 1fec6e0
The text was updated successfully, but these errors were encountered: