Geoff Greer d8f0fb1378 swaylock: Securely zero-out password.
- Replace char* with static array. Any chars > 1024 will be discarded.
- mlock() password buffer so it can't be written to swap.
- Clear password buffer after auth succeeds or fails.

This is basically the same treatment I gave the 0.15 branch in https://github.com/swaywm/sway/pull/1519
2018-04-12 17:49:21 -07:00
2016-04-23 19:37:21 +02:00
2018-04-12 17:49:21 -07:00
2018-04-04 18:47:49 -04:00
Description
No description provided
462 KiB
Languages
C 89.7%
Shell 5.5%
Meson 4.8%