~kris/suckless

slock

ref: 2d85c5baed4c4b4ecc19f7934fac1fc6a5b5c410 slock/Makefile -rw-r--r-- 1.5 KiB
a7afade1 — Hiltjo Posthuma 10 years ago
clear passwords with explicit_bzero

Make sure to explicitly clear memory that is used for password input. memset
is often optimized out by the compiler.

Brought to attention by the OpenBSD community, see:
https://marc.info/?t=146989502600003&r=1&w=2
Thread subject: x11/slock: clear passwords with explicit_bzero

Changes:

- explicit_bzero.c import from libressl-portable.
- Makefile: add COMPATSRC for compatibility src.
- config.mk: add separate *BSD section in config.mk to simply uncomment it on
  these platforms.
6a52a85a — Markus Teich 10 years ago
add slock.1 man page
44ce161c — Anselm R Garbe 11 years ago
applied sin's patch and prepared new release
34f5edb2 — anselm@garbe.us 14 years ago
preparing 1.0
a6a3471d — Anselm R Garbe 18 years ago
fix
20e294a6 — Anselm R. Garbe 19 years ago
updating copyright stuff in slock as well
6725bb2a — Anselm R. Garbe 19 years ago
fixed a potential buffer overflow bug on the stack (thanks to Ghassan Misherg)
763e5287 — arg@suckless.org 19 years ago
initial commit