mirror of
https://github.com/winscp/winscp.git
synced 2026-10-24 02:28:55 +03:00
thirdparty_hotfix
This prevents a couple of different possible crashes if a PPK file constructed by something other than PuTTYgen contains invalid parameters. If parallelism is 0 then the Argon2 code can divide by zero; if the memory requirement is too small for the parallelism then it can overrun a buffer. Signed-off-by: Martin Prikryl <martin@winscp.net> Source commit: e66db8e4bd600fd9d92467fb8b6cc31cd86fc0ad
Languages
C
64.2%
C++
19.9%
Assembly
6.3%
Shell
2.4%
Pascal
2%
Other
5.1%