Skip to content

EDGEML-15209 Change exception to warning - #10137

Merged
stsoe merged 1 commit into
Xilinx:mcdm_m1.0from
stsoe:cp_10135
Oct 23, 2026
Merged

stsoe merged 1 commit into
Xilinx:mcdm_m1.0from
stsoe:cp_10135

Conversation

@stsoe

@stsoe stsoe commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

Problem solved by the commit

Bounds checking uses m_axlf.size() — the actual in-memory buffer — not m_header.m_length. So when letting a file through where m_length > m_axlf.size(), any section that points outside the real buffer gets caught there before any copy happens.

A warning prompts user to fix the xclbin but doesn't stop the flow.

Bounds checking uses m_axlf.size() — the actual in-memory
buffer — not m_header.m_length. So when letting a file through
where m_length > m_axlf.size(), any section that points outside the
real buffer gets caught there before any copy happens.

A warning prompts user to fix the xclbin but doesn't stop the flow.

Signed-off-by: Soren Soe <2106410+stsoe@users.noreply.github.com>
@stsoe
stsoe merged commit 196a00e into Xilinx:mcdm_m1.0 Oct 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant