Fix possible out of bounds read on host audio 2 meters
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
cd99938fa8
commit
a182b1216e
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ float d_findMaxNormalizedFloat128(const float floats[128])
|
|||
if (!std::isfinite(floats[i]))
|
||||
__builtin_unreachable();
|
||||
|
||||
tmp = std::abs(*floats++);
|
||||
tmp = std::abs(floats[i]);
|
||||
|
||||
if (tmp > maxf2)
|
||||
maxf2 = tmp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue