Election-Tech-Initiative / electionguard-cpp

A C++ implementation of ElectionGuard specification focused on encryption components.
https://www.electionguard.vote/
MIT License
23 stars 26 forks source link

🐞 Candidate Name Interop Issue #338

Open SteveMaier-IRT opened 2 years ago

SteveMaier-IRT commented 2 years ago

Is there an existing issue for this?

Current Behavior

In C#, the Candidate Name field assumes that the C++ code is sending a string pointer out. However, what is being sent out is an InternationalizedText pointer instead.

By having the wrong pointer type, Visual Studio sometimes crashes during testing and the data cannot be seen at all.

Expected Behavior

No response

Steps To Reproduce

No response

Environment

- OS:

Anything else?

No response