Skip to content

[onert-micro] Add index bounds checks to fix security vulnerabilities#16398

Merged
hseok-oh merged 1 commit intoSamsung:masterfrom
chunseoklee:119475
Feb 26, 2026
Merged

[onert-micro] Add index bounds checks to fix security vulnerabilities#16398
hseok-oh merged 1 commit intoSamsung:masterfrom
chunseoklee:119475

Conversation

@chunseoklee
Copy link
Copy Markdown
Contributor

  • Added IndexError enum and bounds checks in GatherND, Slice, Pad, and dimension product calculation to prevent out-of-bounds accesses and negative indices.

  • Fixes security vulnerabilities related to index validation.

ONE-DCO-1.0-Signed-off-by: Chunseok Lee chunseok.lee@samsung.com

- Added IndexError enum and bounds checks in GatherND, Slice, Pad, and dimension product calculation to prevent out-of-bounds accesses and negative indices.

- Fixes security vulnerabilities related to index validation.

ONE-DCO-1.0-Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
Copy link
Copy Markdown
Contributor

@hseok-oh hseok-oh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hseok-oh hseok-oh merged commit b2f7ae1 into Samsung:master Feb 26, 2026
3 checks passed
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.

2 participants