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

Error StackOverFlow #88

Open
Quantum54554545 opened this issue Nov 6, 2024 · 4 comments
Open

Error StackOverFlow #88

Quantum54554545 opened this issue Nov 6, 2024 · 4 comments

Comments

@Quantum54554545
Copy link

Quantum54554545 commented Nov 6, 2024

After building the project in native and running, an error appears

System error A stack buffer overflow was detected in this application. This overflow could allow an attacker to take control of the application.

used .NET 7 and 8 but the problem persisted
Here is my project https://github.com/Quantum54554545/Changer

What could be the reason for the error? I can tell right away the error is not because of Armdot
image

@Quantum54554545
Copy link
Author

Quantum54554545 commented Nov 6, 2024

image
although after using .net 7, the StackOverFlow error disappeared, but a new one appeared

@kant2002
Copy link
Owner

kant2002 commented Nov 9, 2024

Hi, the project on Github seems to be private, or you remove it. Can you make it public ?

@Quantum54554545
Copy link
Author

сделал

@kant2002
Copy link
Owner

kant2002 commented Nov 9, 2024

Okay, first of all. Your solution use obfuscator which may interfere with build. I remove Protect target and AOT application launched.
Second is that you forget to add ComWrappers.RegisterForMarshalling(global::WinFormsComInterop.WinFormsComWrappers.Instance); into your Program.cs
Can you try again and let me know.

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

No branches or pull requests

2 participants