onnxruntime
ef04b10a - [CXX Lora] Prevent heap OOB from maliciously crafted Lora Adapters. (#27518)

Commit
41 days ago
[CXX Lora] Prevent heap OOB from maliciously crafted Lora Adapters. (#27518) ### Description <!-- Describe your changes. --> Detect and test mismatch between raw data size and declared data type and shape of the lora adapter parameter. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Disallow maliciously crafted lora adapters leading to heap OOB. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Author
Parents
Loading