Browse Source

Fix possible out of bounds read on host audio 2 meters

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.11
falkTX 2 years ago
parent
commit
a182b1216e
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plugins/Cardinal/src/plugin.hpp

+ 1
- 1
plugins/Cardinal/src/plugin.hpp View File

@@ -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…
Cancel
Save