Leonardo Taccari 55d985a354 Avoid ctype(3) abuses
Valid argument of ctype(3) functions must be either EOF or non-negative
value within the range representable as unsigned char. Invalid values
leads to undefined behavior.

Cast all such uses to avoid that.

At least in NetBSD 11 ctype(3) abuses will always crash and permit
to break slock screen locking.
2026-07-27 23:53:20 +02:00
2016-08-22 23:22:20 +02:00
2016-11-20 00:29:41 +01:00
2025-08-09 14:34:37 +02:00
2023-10-06 11:39:31 +02:00
2016-11-23 00:29:18 +01:00
2026-07-27 23:53:20 +02:00
2016-08-13 09:58:00 +02:00

slock - simple screen locker
============================
simple screen locker utility for X.


Requirements
------------
In order to build slock you need the Xlib header files.


Installation
------------
Edit config.mk to match your local setup (slock is installed into
the /usr/local namespace by default).

Afterwards enter the following command to build and install slock
(if necessary as root):

    make clean install


Running slock
-------------
Simply invoke the 'slock' command. To get out of it, enter your password.
S
Description
No description provided
Readme MIT
315 KiB
Languages
C 79.5%
Makefile 14.4%
Roff 6.1%