Merge pull request #12264 from tsz8899/feat/error-handling-enhancements

[client,windows] Enhance error handling and context validation
This commit is contained in:
akallabeth
2026-02-09 08:44:47 +01:00
committed by GitHub

View File

@@ -61,6 +61,9 @@ static void AddDefaultSettings_I(rdpSettings* settings, size_t idHostname, size_
return;
int len = _snprintf(TargetName, 0, TERMSRV, ServerHostname);
if (len < 0)
goto fail;
len++;
TargetName = (PSTR)malloc(len);