Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EDGEML-6881 Random test failure when looking for driver store path #7855

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

stsoe
Copy link
Collaborator

@stsoe stsoe commented Dec 18, 2023

Problem solved by the commit

Adjust copying of wchar[] array into std::wstring accounting for bytes vs wchar.

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

This bug was introduced in #7679 and is present in MCDM drops starting M6.

How problem was solved, alternative solutions (if any) and why they were rejected

Code queries windows adpater for driver store path. The driver store path is returned as array of wchar but was copied as bytes, resulting in copying from unallocated memory.

Adjust copying of wchar[] array into std::wstring accounting for
bytes vs wchar.

Code queries windows adpater for driver store path.  The driver store path is
returned as array of wchar but was copied as bytes, resulting in copying from
unallocated memory.

This bug was introduced in Xilinx#7679 and is present in MCDM drops starting M6.

Signed-off-by: Soren Soe <[email protected]>
@stsoe stsoe requested a review from rozumx as a code owner December 18, 2023 22:19
@stsoe
Copy link
Collaborator Author

stsoe commented Dec 18, 2023

Merging without waiting for CI to finish. The change passes all build steps, but is not exercised by any testing.

@stsoe stsoe merged commit 33bb432 into Xilinx:master Dec 18, 2023
18 checks passed
@stsoe stsoe deleted the edgeml-6881 branch December 18, 2023 22:39
@gbuildx
Copy link
Collaborator

gbuildx commented Dec 19, 2023

Build failed :(

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.

2 participants