onnxruntime
Apply model size limit before converting size_t input to int32_t
#28112
Merged

Apply model size limit before converting size_t input to int32_t #28112

skottmckay
skottmckay Enforce 2GB protobuf model size limit for bytes input before converti…
c3e853c9
skottmckay skottmckay requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 129 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-04-17
skottmckay Update onnxruntime/core/session/utils.cc
4aa79654
Copilot Add explicit WinML model byte-size guard before narrow cast
0c241920
Copilot Clarify exact byte limit in WinML model size error
fd73e2ed
Copilot Use symbolic INT32_MAX in WinML model size error text
05be97a4
Copilot Refine WinML oversized model error details
f066ee19
github-actions
github-actions commented on 2026-04-17
skottmckay Lint.
066e6c08
skottmckay skottmckay enabled auto-merge (squash) 126 days ago
vraspar
vraspar
vraspar approved these changes on 2026-04-22
skottmckay skottmckay merged 564cabfc into main 123 days ago
skottmckay skottmckay deleted the skottmckay/ApplyLengthLimitWhenLoadingModelFromBytes branch 123 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone