Skip to content

Validate token_id bounds in NGramRepeatBlock to prevent OOB write#28039

Merged
vraspar merged 2 commits into
mainfrom
vraspar/fix-ngram-repeat-block-oob-write
Apr 16, 2026
Merged

Validate token_id bounds in NGramRepeatBlock to prevent OOB write#28039
vraspar merged 2 commits into
mainfrom
vraspar/fix-ngram-repeat-block-oob-write

Add clarifying comment for CUDA bounds guard per review

749f7a0
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Windows ARM64 QNN CI Pipeline succeeded Apr 13, 2026 in 48m 34s

Build #20260413.12 succeeded

Details

Tests

  • Failed: 0 (0.00%)
  • Passed: 91 (96.81%)
  • Other: 3 (3.19%)
  • Total: 94