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

Using async methods results in VHO:Trojan.Win32.Sdum.gen [DNET978] #309

Closed
firebird-automations opened this issue Nov 12, 2020 · 2 comments

Comments

@firebird-automations
Copy link

Submitted by: Marvin Klein (marvinklein)

Hi there,

I am using Firebird http://ADO.NET in my C#⁠ application. Since I switched my code from synchronous to asynchronous code I am getting a trojan alert from Kaspersky Total Security, every time I open a connection.

The code I am using is:
// This works fine
using (FbConnection connection = new FbConnection(ConnectionString))
{
connection.Open();
using (FbCommand cmd = connection.CreateCommand())
{
cmd.CommandText = "SELECT * FROM PERSONAL";
cmd.ExecuteNonQuery();
}

}

// This results in trojan alert from Kaspersky
using (FbConnection connection = new FbConnection(ConnectionString))
{
await connection.OpenAsync();
using (FbCommand cmd = connection.CreateCommand())
{
cmd.CommandText = "SELECT * FROM PERSONAL";
await cmd.ExecuteNonQueryAsync();
}

}

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Can you share the complete alert?

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Incomplete [ 4 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants