You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Fixed the Windows computer-name hooks GetComputerNameW, GetComputerNameExW, and gethostname to respect the caller's buffer and
the standard size-probe contract. A long remote pod hostname no longer
makes .NET's Environment.MachineName throw, which broke clients such as StackExchange.Redis with a RedisConnectionException. It also no longer
breaks outgoing TLS: SChannel queries the NetBIOS name with a fixed
buffer during the handshake, and a too-long name made AcquireCredentialsHandle fail with SEC_E_SECPKG_NOT_FOUND, breaking HTTPS and gRPC to external services such as GCP.