mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[utils,passphrase] allow popen
silence clang-analyzer as we require popen for FREERDP_ASKPASS
This commit is contained in:
@@ -236,6 +236,7 @@ static const char* freerdp_passphrase_read_askpass(const char* prompt, char* buf
|
||||
|
||||
(void)sprintf_s(command, sizeof(command), "%s 'FreeRDP authentication\n%s'", askpass_env,
|
||||
prompt);
|
||||
// NOLINTNEXTLINE(clang-analyzer-optin.taint.GenericTaint)
|
||||
FILE* askproc = popen(command, "r");
|
||||
if (!askproc)
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user