openvino
63e31528 - Fix access violation when Tensor is 0-size shape constant and scalar … (#34895)

Commit
44 days ago
Fix access violation when Tensor is 0-size shape constant and scalar … (#34895) ### Details: - This case will make `element_count == 0`, `m_shape.size() == 1`, but `shape_size(m_shape) == 0`. - The `repeats` in `src\plugins\intel_cpu\src\nodes\broadcast.cpp` is `0`. But the `srcDims.size() = 1`. That make the program access `repeats[0]` and cause the access violation. Port the https://github.com/openvinotoolkit/openvino/pull/34874 to 2026.1 ### Tickets: - [CVS-183409](https://jira.devtools.intel.com/browse/CVS-183409) ### AI Assistance: - *AI assistance used: no / yes* - *If yes, summarize how AI was used and what human validation was performed (build/tests/manual checks).* --------- Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
Author
Parents
Loading