Skip to content

Cap client operation limits to MaxArrayLength and fix flaky pcap/interval tests #6143

Cap client operation limits to MaxArrayLength and fix flaky pcap/interval tests

Cap client operation limits to MaxArrayLength and fix flaky pcap/interval tests #6143

Triggered via pull request June 23, 2026 17:19
Status Success
Total duration 3h 36m 52s
Artifacts

codeql-analysis.yml

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

Annotations

11 warnings
Analyze (csharp): Tests/Opc.Ua.Core.Tests/Security/Identity/StaticIssuerKeyResolverTests.cs#L90
Call System.IDisposable.Dispose on object created by 'CreateKey("kid-1")' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
Analyze (csharp): Tests/Opc.Ua.Core.Tests/Security/Identity/StaticIssuerKeyResolverTests.cs#L78
Call System.IDisposable.Dispose on object created by 'CreateKey("kid-1")' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
Analyze (csharp): Tests/Opc.Ua.Core.Tests/Security/Identity/StaticIssuerKeyResolverTests.cs#L49
Call System.IDisposable.Dispose on object created by 'CreateKey("kid-2")' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
Analyze (csharp): Tests/Opc.Ua.Core.Tests/Security/Identity/StaticIssuerKeyResolverTests.cs#L49
Call System.IDisposable.Dispose on object created by 'CreateKey("kid-1")' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
Analyze (csharp): Tests/Opc.Ua.Core.Tests/Security/Identity/StaticIssuerKeyResolverTests.cs#L78
Call System.IDisposable.Dispose on object created by 'CreateKey("kid-2")' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
Analyze (csharp): Stack/Opc.Ua.Core.Diagnostics/Capture/Sources/InProcessCaptureSource.cs#L121
'InProcessCaptureSourceBase' contains field 'm_textKeyWriter' that is of IDisposable type 'UaKeyLogTextWriter?', but it is never disposed. Change the Dispose method on 'InProcessCaptureSourceBase' to call Close or Dispose on this field. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2213)
Analyze (csharp): Stack/Opc.Ua.Core.Diagnostics/Capture/Sources/InProcessCaptureSource.cs#L119
'InProcessCaptureSourceBase' contains field 'm_pcapWriter' that is of IDisposable type 'PcapFileWriter?', but it is never disposed. Change the Dispose method on 'InProcessCaptureSourceBase' to call Close or Dispose on this field. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2213)
Analyze (csharp): Stack/Opc.Ua.Core.Diagnostics/Capture/Sources/InProcessCaptureSource.cs#L120
'InProcessCaptureSourceBase' contains field 'm_jsonKeyWriter' that is of IDisposable type 'UaKeyLogJsonWriter?', but it is never disposed. Change the Dispose method on 'InProcessCaptureSourceBase' to call Close or Dispose on this field. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2213)
Analyze (csharp): Fuzzing/Common/Fuzz.Tools/Program.cs#L46
'string.Replace(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Opc.Ua.Fuzzing.Program.s_areaName' with a call to 'string.Replace(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
Analyze (csharp): Fuzzing/Common/Fuzz.Tools/Program.cs#L46
'string.Replace(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Opc.Ua.Fuzzing.Program.s_areaName' with a call to 'string.Replace(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
Analyze (csharp)
Cannot build an overlay database because build-mode is set to "undefined" instead of "none". Falling back to creating a normal full database instead.