VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/libzip/zip_source_call.c
diff options
context:
space:
mode:
authorJertzukka <Jertzukka@gmail.com>2023-06-10 02:07:27 +0300
committerGitHub <noreply@github.com>2023-06-10 01:07:27 +0200
commit0ffd61a55c22eb1b5f66752a7953659046c04430 (patch)
tree382769bce59c4f2750235df09fed5b94de2ef486 /src/Common/libzip/zip_source_call.c
parent9ad75aaa0fa46dfa097feaf269b352c6b7c114dd (diff)
downloadVeraCrypt-0ffd61a55c22eb1b5f66752a7953659046c04430.tar.gz
VeraCrypt-0ffd61a55c22eb1b5f66752a7953659046c04430.zip
Linux/FreeBSD: Fix privilege escalation prompts being ignored (#1100)
Currently if you fail the privilege escalation prompt, the second one and consecutively every second will be ignored. This is because if we do not --use-dummy-sudo-password and are on Linux/FreeBSD, we will be prompted for password twice for one evaluation in the while(!ElevatedServiceAvailable) loop. For the fix, we make sure that we run the prompt only once for each case.
Diffstat (limited to 'src/Common/libzip/zip_source_call.c')
0 files changed, 0 insertions, 0 deletions