|
From: Marvin K. (JIRA) <tr...@fi...> - 2020-11-12 12:43:38
|
Using async methods results in VHO:Trojan.Win32.Sdum.gen
--------------------------------------------------------
Key: DNET-978
URL: http://tracker.firebirdsql.org/browse/DNET-978
Project: .NET Data provider
Issue Type: Bug
Components: ADO.NET Provider
Affects Versions: 7.5.0.0
Environment: Windows 10 Profesiional 2004, Visual Studio 2019 16.8
C# 9 with nullable enabled
Reporter: Marvin Klein
Assignee: Jiri Cincura
Priority: Minor
Hi there,
I am using Firebird 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();
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|