predict_class.js:166 - array access without bounds check #23

Closed
opened 2026-03-11 13:54:55 +00:00 by vps1_gitea_admin · 1 comment

Bug

peakIndex could be -1 (from indexOf), leading to array[-1] access.

File

generalFunctions/src/predict/predict_class.js:166

## Bug peakIndex could be -1 (from indexOf), leading to array[-1] access. ## File generalFunctions/src/predict/predict_class.js:166
vps1_gitea_admin added the bug label 2026-03-11 13:54:55 +00:00
Author
Owner

Fixed in generalFunctions submodule commit.

Fixed in generalFunctions submodule commit.
Sign in to join this conversation.