dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.42k stars 4.76k forks source link

Avoid exception when parsing AD path for port number #109977

Open steveharter opened 2 days ago

steveharter commented 2 days ago

Fixes https://github.com/dotnet/runtime/issues/109858

This will need to be ported to v9

We don't have automated tests for this; can @kumarravik78c or @jay98014 verify.

Regression in v9 from https://github.com/dotnet/runtime/pull/89787

kumarravik78c commented 2 days ago

@steveharter no we do not have any test around this code.

steveharter commented 1 day ago

PTAL @JasonDebug