From 0b151c63098fe0b9753f8ff1e7fab7ef1f6c8899 Mon Sep 17 00:00:00 2001 From: Andrew Lock Date: Fri, 15 Nov 2024 12:46:24 +0100 Subject: [PATCH] Update tracer/src/Datadog.Trace/Telemetry/Collectors/DependencyTelemetryCollector.cs --- .../Telemetry/Collectors/DependencyTelemetryCollector.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracer/src/Datadog.Trace/Telemetry/Collectors/DependencyTelemetryCollector.cs b/tracer/src/Datadog.Trace/Telemetry/Collectors/DependencyTelemetryCollector.cs index c4601f07b122..5ce321e286fd 100644 --- a/tracer/src/Datadog.Trace/Telemetry/Collectors/DependencyTelemetryCollector.cs +++ b/tracer/src/Datadog.Trace/Telemetry/Collectors/DependencyTelemetryCollector.cs @@ -188,7 +188,7 @@ private static bool IsZeroVersionAssemblyPattern(string assemblyName) && IsBase32Char(assemblyName[5]) && IsBase32Char(assemblyName[6]) && IsBase32Char(assemblyName[7])) - || (assemblyName.Length == 32 && IsHexString(assemblyName, 0)); + || (assemblyName.Length >= 32 && IsHexString(assemblyName, 0)); } private static bool IsBase32Char(char c)