Apply model size limit before converting size_t input to int32_t #28112
Enforce 2GB protobuf model size limit for bytes input before convertiā¦
c3e853c9
Update onnxruntime/core/session/utils.cc
4aa79654
Add explicit WinML model byte-size guard before narrow cast
0c241920
Clarify exact byte limit in WinML model size error
fd73e2ed
Use symbolic INT32_MAX in WinML model size error text
05be97a4
Refine WinML oversized model error details
f066ee19
Lint.
066e6c08
skottmckay
enabled auto-merge (squash) 126 days ago
vraspar
approved these changes
on 2026-04-22
skottmckay
deleted the skottmckay/ApplyLengthLimitWhenLoadingModelFromBytes branch 123 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub