Skip to content

[Server] Fix: Return full CertificateChain after Certificate Update #2998

[Server] Fix: Return full CertificateChain after Certificate Update

[Server] Fix: Return full CertificateChain after Certificate Update #2998

Triggered via pull request November 23, 2024 17:29
Status Success
Total duration 27m 3s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze (csharp): Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryClientChannel.cs#L648
The behavior of 'string.Format(string, object)' could vary based on the current user's locale settings. Replace this call in 'UaSCUaBinaryClientChannel.ProcessOpenSecureChannelResponse(uint, ArraySegment<byte>)' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Analyze (csharp): Stack/Opc.Ua.Core/Stack/Tcp/TcpTransportListener.cs#L188
The behavior of 'Convert.ToUInt32(string)' could vary based on the current user's locale settings. Replace this call in 'TcpTransportListener.UpdateChannelLastActiveTime(string)' with a call to 'Convert.ToUInt32(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Analyze (csharp): Stack/Opc.Ua.Core/Stack/Configuration/SecurityConfigurationManager.cs#L95
Avoid inexact read with 'System.IO.FileStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
Analyze (csharp): Stack/Opc.Ua.Core/Security/Certificates/CertificateTypesProvider.cs#L138
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
Analyze (csharp): Stack/Opc.Ua.Core/Security/Certificates/CertificateTypesProvider.cs#L163
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
Analyze (csharp): Stack/Opc.Ua.Core/Security/Certificates/CertificateTypesProvider.cs#L178
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
Analyze (csharp): Stack/Opc.Ua.Core/Stack/Server/ServerBase.cs#L620
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
Analyze (csharp): Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryClientChannel.cs#L648
The behavior of 'string.Format(string, object)' could vary based on the current user's locale settings. Replace this call in 'UaSCUaBinaryClientChannel.ProcessOpenSecureChannelResponse(uint, ArraySegment<byte>)' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Analyze (csharp): Stack/Opc.Ua.Core/Stack/Configuration/SecurityConfigurationManager.cs#L95
Avoid inexact read with 'System.IO.FileStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
Analyze (csharp): Stack/Opc.Ua.Core/Stack/Tcp/TcpTransportListener.cs#L188
The behavior of 'Convert.ToUInt32(string)' could vary based on the current user's locale settings. Replace this call in 'TcpTransportListener.UpdateChannelLastActiveTime(string)' with a call to 'Convert.ToUInt32(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)